数组
摘要:#数组# ##数组基础## 数组是大多数语言里面最常见的一种数据结构,它是一个有序的值列表。 ###创建数组### 1.创建字面量数组 let arr=[]; 2.创建构造函数数组 let arr=new Array(); 注:无论是字面量形式数组,还是构造函数数组,当我们要使用typeof打印数据
阅读全文
posted @ 2019-07-07 13:45
posted @ 2019-07-07 13:45
posted @ 2019-07-05 20:19
posted @ 2019-07-02 10:53
posted @ 2019-07-01 09:01