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}] 查看完整描述