js remove key from object reduce code example Example 1: javascript remove element from object delete object.element Example 2: nodejs delete object key delete obj.firstname;