What is a constructor in Javascript ?

Javascript on MoreOnFew.com

If you have been working on or learning Object Oriented JavaScript, you must have come across the word “constructor” a number of times. A constructor is basically a function that is used to set the properties and methods of an Object. Generally you may use “this” keyword within the Constructor function a lot and the … Read more