pop key value from object javascript code example
Example 1: js delete object in dict
delete myArray[id_to_remove];
Example 2: nodejs delete object key
delete obj.firstname;
delete myArray[id_to_remove];
delete obj.firstname;