摘要:一、var, let, const 谈到ES6,估计大家首先肯定会想到var,let,const 咱就先谈谈这三者的区别 var a = 3; { var a = 4; } console.log(a);//4 let b = 5; { let b = 6; } console.log(b);//5 阅读全文
posted @ 2021-01-26 13:31 打游戏也要有梦想 阅读(426) 评论(0) 推荐(2) 编辑