Very good explanation on Object.create method .I used to create object using the new operator like var obj=new Object(); other way is using the object literal notation like var obj={} and another way is to create a object from the function(i.e constructor).
You are viewing a single comment's thread from:
Thanks. Sometimes it is easier to use
Object.create
.