☑️ What are Objects?
- Objects are collection of property and property values
- Every object has state and behavior
- A real time object is mimicked in the programming world
- A object can contain below things in it.
a. variable(integer, decimal, Boolean, character, string)
b. array
c. function
d. another object
☑️ How to create objects in JavaScript?
Output:
☑️ How to make an object read only?
Output:
☑️ How to make an object extensible(un expandable) but modifiable
Output:
☑️ How to expand an object property ?
Output:
☑️ How to add an Boolean object property to an Object?
Output:
☑️ Object DE structuring
Output:
Top comments (0)