mking
Member since
Recent Docs Activity
View all activityPage | Date | Comment |
---|---|---|
Object.prototype |
Missing semicolon | |
Object.prototype |
Fix code sample | |
Object.prototype |
Fix code sample formatting | |
Object.prototype |
Made the example consistent with common practice. First, prototype is set directly after constructor is defined. Second, prototype is initialized to instance of parent class (this supports the A.prototype.method way of defining methods). See Crockford. |