About Lesson
Introduction:
There are several ways or syntax’s to create objects. One of which, known as the “Object” constructor. The Object constructor creates an object wrapper for the given value. This, used in conjunction with the “new” keyword allows us to initialize new objects.
Example:
var x = new Object()
x.fname = ‘Rohan‘;
Exercise Files
No Attachment Found
Join the conversation