how to update single value in object javascript code example
Example: how to update object in javascript
myObject['first name'] = 'John'; // property name with a space
myObject['first name'] = 'John'; // property name with a space