摘要: JS中的Array方法 新建数组 常规方式 <!-- 先创建数组对象,再赋值 -->let temp = new Array();temp[0] = 123;temp[1] = "string";temp[2] = true;console.log(temp[0]); // 123console.l 阅读全文
posted @ 2020-04-03 14:05 慢慢变菜 阅读(188) 评论(2) 推荐(0) 编辑