Skip to content
promise in js

Promise in JavaScript

In this post, I’ll thoroughly explain the concept of Promise in JavaScript. We’ll cover the coding part later, but now let’s focus on where, what, and why behind the Promise. Asynchronous programming What does Asynchronous mean? The simple definition of asynchronous means not at the same time, that’s the opposite… Read More »Promise in JavaScript

Optional Chaining

Optional Chaining (?.) – Question mark and Dot in JavaScript

Optional chaining (?.) in JavaScript is part of the ES2020 release. This operator enables us to safely access nested properties by handling null/undefined references. In simple words, the Optional chaining operator when met with a non-existing property instead of throwing a reference error, it returns undefined. Example How it works?… Read More »Optional Chaining (?.) – Question mark and Dot in JavaScript