What is a constructor in Javascript ?

What is a constructor in Javascript ?

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...
Javascript Naming Conventions

Javascript Naming Conventions

A very common query that a lot of developers starting off with Javascript have is about the naming conventions to be used. I’m happy that many of us take that extra step to ensure that we follow standards while we code. But hey, the fact is actually there is no...