unset key from object javascript code example
Example 1: how to remove key value pair from object in javascript
delete object.keyname;
Example 2: nodejs delete object key
delete obj.firstname;
delete object.keyname;
delete obj.firstname;