Jump directly to main content

Know the browser APIs. Know the little tricks.

Many front-end devs don’t know some useful JS and DOM API. Many of us happily use jQuery when the same API is available natively. Check how many of these you know…

JavaScript Debugging Tricks

When working with large complex SPAs one may hit situations where one has to think beyond the usual debugging tricks.

Here I list a few of them I had to use at work…

Prototype and Inheritance

In this article I’ll be exploring, one of the most confusing features of JavaScript, the prototype object. Understanding prototype is necessary to achieve object “inheritance” in JavaScript, which is similar to what you’ve seen in other programming languages. But first, I’ll be explaining what prototype is, what it can do and how it works, before moving to inheritance.