Skip to content Skip to sidebar Skip to footer
Showing posts with the label Prototypal Inheritance

Resetting The Constructor Property Of Prototype Object

Consider the following snippet: function shape(){ this.name = '2d shape' } function tr… Read more Resetting The Constructor Property Of Prototype Object

Prototypal Inheritance In Javascript

I've been watching Douglas Crockford's talks at YUI Theater, and I have a question about Ja… Read more Prototypal Inheritance In Javascript

Javascript Prototypal Inheritance?

I'been doing some inheritance in js in order to understand it better, and I found something tha… Read more Javascript Prototypal Inheritance?

Add Formats To Native Date Parser

I was wondering if there was any way to add (and map) formats to the native Date parser in javascri… Read more Add Formats To Native Date Parser

Inherit Prototype Methods From Other Classes Without Overriding Own Prototype Methods

Is there a better way of having a class inherit prototype methods from another class and still be a… Read more Inherit Prototype Methods From Other Classes Without Overriding Own Prototype Methods

Why Is Functionname() == Functionname.prototype.constructor()

I noticed if I have the following: var functionName = function(){console.log('this is a functio… Read more Why Is Functionname() == Functionname.prototype.constructor()