JS数组

105 阅读1分钟

数组属性

属性描述
constructor返回创建数组对象的原型函数。
length设置或返回数组元素个数。
prototype允许向数组对象添加属性或方法。