remove attributes from object javascript code example Example: nodejs delete object key delete obj.firstname;