Category Archives: Javascript



What is Javascript Prototype ?
What Is a Constructor in JavaScript? To get to know about prototypes, let’s talk about constructors first.The Constructor function in JavaScript is a function that returns a reference to the object that created the instance object. For example, if your object is an instance of an array, its constructor function refers to the array. This […]



Debouncing in Javascript
In 2011, an issue popped up on the Twitter website: when you were scrolling down your Twitter feed, it became slow and unresponsive. John Resig published a blog post about the problem where it was explained how bad of an idea it is to directly attach expensive functions to the scroll event. The suggested solution by John (at that […]