Skip to main content

JavaScript Objects



JavaScript objects and arrays


Objects are used to store the data in structured way into variables.


In this tutorial we will learn basics of javascript objects , in the video I have shown different methods of creating an object. As shown in the video an object can be made using new Object() method or by using {} method.

Also as shown in the video , I have shown different methods to set and get value of a property. Also I have created a method which sets the value of a property and returns the value.

In objects variable are called properties and the functions inside them are known as methods.

Read full tutorial

Comments