Talk:JavaScript/Inheritance

"Penny.prototype = new CoinObject;"

Calling a constructor when assigning the prototype can have unintended side-effects when all we need is its prototype property. We should probably use some technique with Object.create or custom functions instead. 81.187.215.34 (discuss) 16:11, 2 July 2016 (UTC)