How Prototype Works in JavaScript?
Leave a reply
By default, every function has a property called prototype this property by default is empty and you can add properties and methods to it and when you create an object from this function. The object inherits its properties and methods. It has been often confusing to the beginners “How Prototype Works in Javascript” and with this, you will also get the Continue Reading »