Why does parseInt(0.0000005) in JavaScript print 5? An amazing question! Preface Recently, I have had a strange problem when...
Immediately invoked function expressions, or IIFE, are functions which are run as soon as you define the function. You...
So you’ve scoured the internet and decided that it is worth your time and effort to learn Angular, an...
The problem If you ever tried to pass a parameter to onClick event handler, you know that it is not straightforward....
Short hand alternatives can help reduce many lines of code and save plenty of time. In this article I...
What is it and what does it solve. The ternary operator a.k.a the conditional operator is a simple and...
Block binding: Actually variable means bindings. When we declare a variable, we bind a value to a name inside a scope....
In the universe of npm, there are a lot of packages to choose from, so knowing which one to...
Avoid bugs by not using `&&` in React components If you’ve seen any React application, you know how to...
async...await syntax only appeared in JavaScript recently – it was introduced in ECMAScript 2017. However, it still remains a bit...