Objects are blueprint of class.
And object has states & behavior associated to it.
Object properties are declared in the form of key-value pairs, Where keys are always 'String' in nature and value can be of any supported datatype from JS(ES5, ES6).
Ex:
How to create empty object ?
Ex: {}
How to create an non-empty object ?
How make an object Immutable?
Top comments (0)