How to get current url in JavaScript?

Javascript on MoreOnFew.com

JavaScript has come a long way since its inception. I remember the days when it was mainly used only for form validations. Now we use JavaScript for a lot more functionalities. JavaScript has a vast number of APIs which enables us to access a variety of features and information from the browser. One such API … Read more

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