unset array key value js code example Example: how to delete object property of array javascript array.forEach(function(v){ delete v.bad });