Objects

w3schools Objects Reference
w3schools Object Definition
w3schools Object Properties
w3schools Object Methods
w3schools Object Prototypes

Declaring:

var car = { Make:"Ford", Model:"Mustang", Trim:"GT", Year:2015 };

var pers = {};
person.FirstName = "James";
person.LastName = "Hetfield";

function person(firstName, lastName) {
    this.firstname = firstName;
    this.lastname = lastName;
    return this;
}
var p = new person("James", "Hetfield");

Accessing Properties:

var prop = car.Model;
var prop = car["Model"];

//Iterating through properties by property name
var pers = new person("James", "Hetfield");
for (var propName in pers)
    if (typeof(pers[propName]) != 'function') {
        alert(propName + ":" + pers[propName]);
    }
}
//Check if a property of an object exists
alert("firstname" in pers)

Methods:

person.getFullName = function() { return this.FirstName + " " + this.LastName; };
var fullname = person.getFullName();