Javascript

Arrays and Linked Lists

Sometimes you need to store a list of elements in memory. Suppose you’re writing an app to manage your...

Jan 1 · 4 min read >

Big O Notation

Big O notation is a special notation that tells you how fast an algorithm is. Okay, but, Who cares?...

Dec 29 · 7 min read >

Rest parameter syntax & Spread Operator in JavaScript

In this article, we are going to explore the triple dots (...) syntax that JavaScript provides. Its mechanisms, and...

Dec 23 · 1 min read >

9 Things You Should Do After Deploying the Frontend

I have never deployed my code and passed all the below-mentioned 9 steps at once. There were always things...

Dec 16 · 4 min read >

How to Add Months to a Date in JavaScript

1. Date getMonth() and setMonth() methods To add months to a Date in JavaScript: For example: Our addMonths() takes a Date object and the number of months to add as...

Dec 8 · 1 min read >

Why does JavaScript’s parseInt(0.0000005) print “5”?

Why does parseInt(0.0000005) in JavaScript print 5? An amazing question! Preface Recently, I have had a strange problem when...

Nov 28 · 1 min read >

Javascript Immediately Invoked Function Expressions (IIFE)

Immediately invoked function expressions, or IIFE, are functions which are run as soon as you define the function. You...

Nov 25 · 1 min read >

Modern JavaScript Shorthands

Short hand alternatives can help reduce many lines of code and save plenty of time. In this article I...

Nov 14 · 2 min read >

The Ternary Operator

What is it and what does it solve. The ternary operator a.k.a the conditional operator is a simple and...

Nov 9 · 1 min read >

All Cool Features Introduced in ES6

Block binding: Actually variable means bindings. When we declare a variable, we bind a value to a name inside a scope....

Nov 3 · 3 min read >