摘要: 修改Arr的length let arr = [1,2,3,4,5,6,7,8,9]; arr.length = 3; console.log('length',arr.length); console.log('arr',arr); 2.delete (修改Arr的内容,但length不变) le 阅读全文
posted @ 2020-07-02 13:57 Bashuslovakia 阅读(736) 评论(0) 推荐(0) 编辑