How to delete Object from deep javascript array?

This question already has an answer here:

  • How do I remove a particular element from an array in JavaScript? 62 answers

  • 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/3228.html

    上一篇: 索引后删除数组值

    下一篇: 如何从深javascript数组中删除对象?