Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wrote "// global scope" beside the first statement to signify that that statement was run in global scope, same for the statement below it.

In global scope, the activation object is the global object, and so saying "var x = 1" will make the global object have a property x equal to 1.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: