Skip to content Skip to sidebar Skip to footer
Showing posts with the label Prototype Programming

What Are Pitfalls Of Extending Object.prototype?

I want to extend Object.prototype, to basically support notifications in JSON data and html element… Read more What Are Pitfalls Of Extending Object.prototype?

Correct Way To Inherit React Components

I understand that my question is a little bit biased, but I am very new in Javascript and prototype… Read more Correct Way To Inherit React Components

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