JS: Object (class)
What is the Keyword “Object”
Purpose of Object is:
- To convert Primitive Value to a object.
- Used as a namespace to hold static methods.
- Holds the property key
"prototype". Its value is the parent of all object type.
Object Consructor
Properties
- JS: Object.hasOwn
- JS: Object.getOwnPropertyDescriptor 👎
- JS: Object.getOwnPropertyDescriptors
- JS: Object.defineProperty 👎
- JS: Object.defineProperties