摘要: The Scope Chain JavaScript is a lexically scoped language: the scope of a variable can be thought of as the set of source code lines for which the var 阅读全文
posted @ 2017-09-29 15:51 流畅的心情 阅读(361) 评论(0) 推荐(0)
摘要: Variables As Properties When you declare a global JavaScript variable, what you are actually doing is defining a property of the global object . If yo 阅读全文
posted @ 2017-09-29 14:38 流畅的心情 阅读(257) 评论(1) 推荐(0)