JavaScript
Easy Way to Get the Number of Days in a Month
Working with dates in JavaScript has a bit of a reputation for being messy. The Date object isn’t…
What is Event Bubbling and Capturing and how to handle them?
I wrote an article for LogRocket on Deep Dive into Event Bubbling and Capturing. In the article, I…
How to copy text with ease in JavaScript using the Clipboard API
Copying text especially code snippets or API key from web pages is a herculean task and I know a lot…
Hoisting
Hoisting is a popularly known term in JavaScript but do you understand how it works? If you've been…
Nullish Coalescing and Optional Chaining in JavaScript
When working with data, situations arise where you aren’t sure that the property you need exists. To…
JavaScript Array Methods: forEach vs map
As a JavaScript developer, you may have been in a position of using forEach or map array method on…
Imperative vs Declarative Approach to Programming
You probably must have heard of the terms imperative vs declarative and wondered what it means and…
Demystifying this, call, apply and bind
The this keyword is one of the concepts you must encounter in your journey as a JavaScript developer…
