JS: Object (class)
What is the keyword “object”
Purpose of Object is:
- To convert Primitive Value to an 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