Constructor Function in JavaScript
What is Constructor?
Constructor in JavaScript is a special kind of function that is used to create and instantiate multiple objects of the same kind.
Why do we need Constructor?
In JavaScript, a single object can be created using the object literal ...
bobby-sadhwani.hashnode.dev5 min read