A normal function that is used to construct objects.
function Person(first,last){
this.first=first;
this.last=last;
}
Person.prototype.greet = function(){
console.log('hello, ' + this.first);
}
var john = new Person('jim','doe');
The greet method is available to all instances of Person and are the same object.