ByeWord
Results
2
comments of
ByeWord
创建阶段 var name = undefined 匿名函数 执行阶段 name = 'Tom' // name已经初始化完成 匿名函数执行 常见的例子: console.log(a) var a = 'Tom' 创建阶段: var a = undefined 执行阶段 console.log(a) // undefined a =...
利用var修饰的变量皮一下下 function print(n){ setTimeout(() => { console.log(i--); }, Math.floor(Math.random() * 1000)); } for(var i = 0; i < 100; i++){ print(i); }