remove key from object angular 6 code example Example: nodejs delete object key delete obj.firstname;