摘要: //1、声明//只读常量 const//全局变量 var//局部变量 let//2、赋值//2.1、按照对应位置,对变量赋值let [a, b, c] = [1, 2, 3];//2.2、Set 结构,也可以使用数组的解构赋值let [x, y, z] = new Set(['a', 'b', 'c 阅读全文
posted @ 2019-11-06 17:14 microsoftzhcn 阅读(389) 评论(0) 推荐(0) 编辑