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

What Is The Reason Es6 Class Constructors Can't Be Called As Normal Functions?

ES6 class constructors can't be called as normal functions. According to ES6 a TypeError should… Read more What Is The Reason Es6 Class Constructors Can't Be Called As Normal Functions?

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

What Is Object.create() Doing Under The Hood?

I'm diving more into Prototypal Inheritance with JavaScript. When Object.Create() is in use to… Read more What Is Object.create() Doing Under The Hood?

Why Defining Properties In The Prototype Is Considered An Antipattern

I often see this pattern to define javascript objects function Person(name) { this.name = name;… Read more Why Defining Properties In The Prototype Is Considered An Antipattern

What Is The Alternative Equivalent Of Javascript "prototype" In Typescript?

Typescript provides Object Oriented & Generic programming paradigms apart from Functional progr… Read more What Is The Alternative Equivalent Of Javascript "prototype" In Typescript?

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

In Javascript, The Difference Between 'object.create' And 'new'

I think the difference has clicked in my head, but I'd just like to be sure. On the Douglas Cro… Read more In Javascript, The Difference Between 'object.create' And 'new'

Infinite Prototypal Inheritance In Javascript

I'm learning prototypal inheritance in Javascript, and for my understanding I'm trying to u… Read more Infinite Prototypal Inheritance In Javascript