Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.


Member since Jul 24, 2012

Recent Blog Comments By Achim.

  • Extending Classes In Object Oriented Javascript

    Posted on Jul 24, 2012 at 5:11 PM

    Hi. I might be a little new to Javascript, but how can you add a prototype to a subclass before declaring it? StraightDatingStrategy.prototype = new DatingStrategy(); When I try this in firefox, there is an error... Is there some declarations you were missing from another file to be loaded first?... read more »