4. prototype, __proto__ and inheritance in JavaScript
In the last post we mentioned a behavior of objects created when the new keyword is used on a constructor function, i.e. JavaScript adds a property called as __proto__ which points to the prototype property of the constructor function.
Note: Before...
diganta.hashnode.dev