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

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

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()

Why My __proto__ Reference Shows Wrong Name In Console?

My proto reference of 'mike' instance points to 'Student' but as its name shows &#… Read more Why My __proto__ Reference Shows Wrong Name In Console?

Javascript Prototype Inheritance And Html Canvas

I'm a Ruby developer who finally decided to learn JavaScript seriously. So I purchased some boo… Read more Javascript Prototype Inheritance And Html Canvas

The Constructor Of Object.prototype

In JavaScript, every object inherits its properties and methods from a specific prototype, where pr… Read more The Constructor Of Object.prototype

How To Implement "normal" Es5 Prototypal Inheritance In React?

I am under the impression that ES6 classes are basically a syntactic sugar around the ES5 objects s… Read more How To Implement "normal" Es5 Prototypal Inheritance In React?

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

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?