prototype is used to extend the functionality of object -
yogi
Jan 7 '17 06:49
function main(){
// i forget to code here
}
function main(){
// i forget to code here
}
main.prototype.sub = function(){
alert("me using prototype method.");
};