Object Oriented JavaScript Tutorial

Syntax

object.prototype.property
    object.prototype.method
The prototype property allows the addition of properties or method to the Object class.