Prototypal Inheritance In JavaScript

Prototypal Inheritance In JavaScript

Prototypal Inheritance is the one of the cornerstones that make up JavaScript. It's a confusing topic for those coming from other programming languages such as Python or Java. How does it work and why does it exist ?…