You are viewing a single comment's thread from:

RE: JavaScript Basics: Object.create

in #javascript6 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.21
TRX 0.14
JST 0.030
BTC 69618.00
ETH 3376.33
USDT 1.00
SBD 2.76