JavaScript is designed on a simple object-based paradigm. An object is a collection of properties, and a property is an association between a name(also known as key) and a value. A property’s value can be a function, in which case the property is known as a method. In addition to objects that are predefined in the browser, you can define your own objects. 

What we’ll be learning ? 

After reading this you’ll be able to understand the basic theory behind object-oriented programming, how this relates to JavaScript (“most things are objects”), and how to start working with JavaScript objects.

Objects in JavaScript, just as in many other programming languages, can be compared to objects in real life. The concept of objects in JavaScript can be understood with real life, tangible objects.

In JavaScript, an object is a standalone entity, with properties and type. 

Compare it with a car, for example. A car is an object, with properties. A car has a name, a color,a mode, a weight, etc. 

All cars have the same properties, but the property values differ from car to car.

 Let’s go back to Javascript now !

A JavaScript object has properties associated with it. A property of an object can be explained as a variable that is attached to the object. Object properties are basically the same as ordinary JavaScript variables, except for the attachment to objects. 

The properties of an object define the characteristics of the object. You access the properties of an object with a simple dot-notation:


So let’s resume what we’ve been through

Objects are variables too. But objects can contain many values.

The values are written as name:value pairs (name and value separated by a colon)

var objectName= {

Objects can also have methods.

Methods are actions that can be performed on objects.and they are stored in properties as function definitions.

exemple :

fullName : function() {
    return this.firstName + " " + this.lastName;


This is a method definition that’ll use as property  we can call it the same way we do for a var property 


Do you want to learn how to Create javascript objects and how to use them ? 

check out the tutorial and start creating your own objects !