Lightweight Javascript Constructors with Inheritance Posted by caseman on Thursday August 23, 2012 @02:02PM from the gist.github.com dept. https://gist.github.com/3428752 A 13-line function that provides some nice syntactic sugar for creating object constructors with inheritance. ( 1 comment | 6 points | on HN )
Best sample code ever.