摘要: 一、新的变量声明方式 let/const { let _a = 20; } console.log(a); // a is not defined // ES5 console.log(a); // undefined var a = 20; // ES6 console.log(a); // a 阅读全文
posted @ 2021-06-29 17:08 一心二念 阅读(127) 评论(0) 推荐(0) 编辑