Constructor Function in Javascript
Introduction
In Javascript, there are multiple ways to create an object.
Simply declare a variable & assign an object to it (a.k.a. Object Literal), use Object. create method or use Class
The Constructor Function is just another way to create objects...
devvarun.hashnode.dev2 min read