Object Example

function Rectangle(w,h) {
	this.width  = w;
	this.height = h;
}

rect = new Rectangle(2,4);

Speaker Notes