Prototype in Java script
What Is a Prototype?
In JavaScript, every object has a prototype. A prototype is another object from which the original object inherits properties and methods. This is how JavaScript implements inheritance.
Think of it like this: You have a student o...
shivraj9392.hashnode.dev6 min read