ASAbhishek Singh Ranainabhishek72340.hashnode.dev·Mar 12, 2023 · 3 min readPromises And Its TypesPromises: A JavaScript Promise object contains both the producing code and calls to the consuming code. The promise object represents the eventual completion (or failure) of an asynchronous operation and its resulting value. const myPromise = new Pro...02PA
ASAbhishek Singh Ranainabhishek72340.hashnode.dev·Feb 24, 2023 · 2 min readNullish Coalescing & Optional Chaining1. Nullish Coalescing: The nullish coalescing operator is a logical operator that returns its right-hand side operand when its left-hand side operand is null or undefined, and if left hand side operand is not null or undefined then returns left hand...00
ASAbhishek Singh Ranainabhishek72340.hashnode.dev·Feb 12, 2023 · 3 min readDifference Between == & === in JavaScript1.Javascript == operator? JavaScript has two equality operators: "==" and "===". Both operators are used to compare values, but they behave differently when it comes to type coercion. In this article, we'll explore the differences between the two ope...00