OT: Global Variable scope

OT: Global Variable scope


What's the mechanism by which a variable is available both by it's
name and also as a property of 'window'
I.e.
var x = "hello"
window.x => "hello"
?