Prototype in JavaScript
A prototype is an existing inbuilt functionality in JavaScript. Whenever we create a JavaScript function, JavaScript adds a prototype property to that function.
A prototype is an object, where it can add new variables and methods to the existing obj...
sirugudi.hashnode.dev4 min read