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

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

Extending An Array Properly, Keeping The Instance Of Subclass

I've written a class trying to extend the native Javascript Array class with a custom class, le… Read more Extending An Array Properly, Keeping The Instance Of Subclass

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?

Use Ng-model In Nested Angularjs Controller

I have two nested controller in angularjs, and want to use ng-model from outer in inner controller.… Read more Use Ng-model In Nested Angularjs Controller

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

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?

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 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?