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?

Extends Challenge: Preprocessor Function Macros And Class-like Oop

Background I've been using the C preprocessor to manage and 'compile' semi-large javasc… Read more Extends Challenge: Preprocessor Function Macros And Class-like Oop

Why Function.prototype Cannot Be Modified ?

in the Function.prototype page it's written this : Function objects inherit from Function.prot… Read more Why Function.prototype Cannot Be Modified ?

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?

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?

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