[js]
Activity
webVueBlog commentedon Apr 15, 2020
由于变量声明(以及其他声明)总是在任意代码执行之前处理的,所以在代码中的任意位置声明变量总是等效于在代码开头声明。这意味着变量可以在声明之前使用,这个行为叫做“hoisting”。“hoisting”就像是把所有的变量声明移动到函数或者全局代码的开头位置。
webVueBlog commentedon Apr 15, 2020
webVueBlog commentedon Apr 15, 2020
webVueBlog commentedon Apr 15, 2020