You are viewing a single comment's thread from:

RE: JavaScript Basics: Object.create

in #javascript8 years ago

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).

Sort:  

Thanks. Sometimes it is easier to use Object.create.

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.088
BTC 60270.93
ETH 1610.85
USDT 1.00
SBD 0.41