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.33
JST 0.102
BTC 65981.36
ETH 1929.30
USDT 1.00
SBD 0.38