Crockford Prototypical Inheritance… no prototype chain? No super?
问题 Trying to understand a little more about Crockford's approach to Prototypical Inheritance whereby he essentially eliminates the constructor, thus eliminating any real possibility for a prototype chain or leveraging the idea of "super". mynamespace.object.create = function( o ) { function F(){}; F.prototype = o; return new F(); }; Is that intentional based on the theory behind prototypical? The reason I ran into this is I wanted to create a base class with an init method that did some common