js:静态作用域Feb 18, 2019作用域指代码中定义变量的区域,js是静态作用于,核心点在于:无论function在哪里执行,function中使用的变量,始终为定义function时的变量。...more