摘要: 1.var、let、const的区别 1.var 可以变量提升,const、let不存在变量提升。 (1)var 代码 console.log(a); // undefiend var a = 100; (2)let、const 代码 console.log(b); // Cannot access 阅读全文
posted @ 2022-04-29 17:51 SKa-M 阅读(112) 评论(0) 推荐(0) 编辑