Where is variable defined, in JavaScript scope.
Whether you're coming to JavaScript from another language, or you're learning JavaScript as your first language, the way scope works -- that is, when and where your variables are defined -- might surprise you.
No comments:
Post a Comment