摘要: 1、let // var 声明的变量往往会越域 // let 声明的变量有严格局部作用域 // { // var a = 1; // let b = 2; // } // console.log(a); // 1 // console.log(b); // ReferenceError: b is  阅读全文
posted @ 2021-12-23 15:59 阿伦啊 阅读(31) 评论(0) 推荐(0) 编辑