var arr = [{id:1,pic:1},{id:2,pic:2},{id:3,pic:3}]
如何删掉arr第二项并且插入一个新的对象{id:4,pic:4}结果如
arr = [{id:1,pic:1},{id:4,pic:4},{id:3,pic:3}]
幕布斯6054654
相关分类