Creating Javascript objects from prototypes

Published in Code on Apr 9, 2015

Using the Object.create() method

var shoe = {...}
var newShoe = Object.create( shoe );

Now, newShoe is an object with exact properties AND values as shoe.