How to delete Object from deep javascript array?
This question already has an answer here:
You could use Array#splice
.
The splice()
method changes the content of an array by removing existing elements and/or adding new elements.
data.parameters.splice(1, 1)
// index // length
链接地址: http://www.djcxy.com/p/19032.html
上一篇: 索引后删除数组值