Skip to content

Instantly share code, notes, and snippets.

View praveenkishor123's full-sized avatar
🏠
Working from home

Praveen Kishor praveenkishor123

🏠
Working from home
View GitHub Profile
var myObject = function(name){
this.name = name;
return this;
};
console.log(typeof myObject.prototype); // object
myObject.prototype.getName = function(){
return this.name;
};