All Stories

How to Convert a Map to an Object in JavaScript

In this article, we’ll be looking at some ways to easily convert a Map to an object in JavaScript. 1. Object.fromEntries()...

May 31 · 53 sec read >

JavaScript Primitives vs Reference Types

At the core of every programming language is the concept of storing small pieces of information (data) in some...

May 26 · 3 min read >

Javascript interview questions

Here is my list of Interview questions that I have been using at interviews to have a good conversation...

May 16 · 3 min read >

Creating Throttle Function In JavaScript

What is a Throttle Function? Let us assume a scenario where we need to add an event listener to...

May 11 · 1 min read >

Which type of loop is fastest in JavaScript?

Discover which loop or iterator suits your needs and prevent silly mistakes that hurt app performance. In web development,...

May 3 · 3 min read >

Interviewer: Can “x !== x” Return True in JavaScript?

Preface Recently I was asked a few strange interview questions. They are different from the regular questions: these interview...

Apr 29 · 1 min read >

O.O.P in Javascript

Object-oriented programming is simply a programming pattern that is based on the concept of different types of objects and their...

Apr 25 · 3 min read >

How to manually bootstrap an Angular application

Official Angular documentation states that to bootstrap an application you have to put the following in the main.ts file: The first...

Apr 22 · 3 min read >

How to compile SASS into CSS and watch for changes?

SASS extends CSS which means that you can have all the features of CSS plus the features of SASS...

Apr 18 · 1 min read >

Find() vs. Filter() in JavaScript

When we handle an array in JavaScript, we may need to find a single item in the array collection....

Apr 15 · 1 min read >