remove from array value code example
Example 1: how to remove an item from an array in javascript
pop - Removes from the End of an Array.
shift - Removes from the beginning of an Array.
splice - removes from a specific Array index.
filter - allows you to programatically remove elements from an Array.
Example 2: how to delete object property of array javascript
array.forEach(function(v){ delete v.bad });