ES6之let与var let:块级作用域、不会被提升 var:函数级作用域 详见:https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Statements/let