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