Javascript Prototype

In this blog, I will take an extensive look at how the prototype object in javascript works.

The code is as follows: