Skip to content Skip to sidebar Skip to footer
Showing posts with the label Anti Patterns

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