console.log(a); var a = 1;
console.log
a
undefined
ES5中的变量提升
原文:https://www.cnblogs.com/shepf/p/14692389.html