delete a dictionary from javascript array code example Example: javascript delete dict value const o = { lastName: 'foo' } delete o['lastName']