• 数组的方法

    Array.length返回或设置一个数组中的元素个数设置 length 属性的值来截断任何数组Array.from() :对伪数组或可迭代对象(包括arguments Array,Map,Set,String…)转换成数组对象语法 Array.from(arrayLike, mapFn, thisArg)arrayLike 想要转换成数组的伪数组对象或可迭代对象。mapFn (可选参数) 如果指定了该参数,新数组中的每个元素会执行该回调函数。thisArg (可选参数) 可选参数,执行回调函数

    数组