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

Js Prototype Objects Not Inherited?

My question is about a strange output that I came across while playing with JS prototypal inheritan… Read more Js Prototype Objects Not Inherited?

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

Critique My Prototypal Inheritance Pattern

I've decided to use Object.create, as it seems much more intuitive than using 'new' and… Read more Critique My Prototypal Inheritance Pattern

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

Object.create Prototype Chains

Initial Question Yesterday i read about ECMAScript 5 Object.create() And I wanted to start building… Read more Object.create Prototype Chains

Javascript Prototypal Inheritance - Truly Understanding The Concept

I was looking at this video explanation(https://www.youtube.com/watch?v=qMO-LTOrJaE) of JS prototyp… Read more Javascript Prototypal Inheritance - Truly Understanding The Concept

Will Javascript Ever Become A 'proper' Class Based Language?

I'm referring to MDN's article on JavaScript's 'future reserved words' (for use… Read more Will Javascript Ever Become A 'proper' Class Based Language?

Minor Drawback With Crockford Prototypical Inheritance

Just experimenting with different inheritance techniques in JS, and came across something mildly di… Read more Minor Drawback With Crockford Prototypical Inheritance

What Are Patterns You Could Use With Prototype Inheritance That You Cannot With Class?

Everyone seems to generally agree that prototype inheritance is simpler and more flexible than clas… Read more What Are Patterns You Could Use With Prototype Inheritance That You Cannot With Class?