VSVivek Shirsathinvivek18.hashnode.dev·Feb 22, 2023 · 2 min readNullish coalescing operatorIntroduction Nullish coalescing operator (??) was introduced in the ECMAScript 2020 specification, which can be used to replace the logical OR operator for setting the default values. Syntax: left Operand ?? right Operand The left operand is first ch...00
VSVivek Shirsathinvivek18.hashnode.dev·Feb 16, 2023 · 2 min readRest and Spread In JavascriptIntroduction Rest and Spread were introduced in ES6 and both have the same Symbol of ... 3 dots. Even though both have the same symbol, both have different meanings. Let's Simplify these operators. Spread Spread (...) allows the iterables such as an ...00
VSVivek Shirsathinvivek18.hashnode.dev·Sep 26, 2022 · 1 min readvar,let and const in javascriptThere are three ways of declaring a variable in Javascript.The oldest one is using the var keyword , let and const were introduced in ES6 . To declare a variable , first write the keyword var,let or const then variable name. var a = 10; With var an...00
VSVivek Shirsathinvivek18.hashnode.dev·Sep 23, 2022 · 2 min readCSS SelectorsCSS Selectors CSS Selector is used to select an HTML element to apply CSS on it. There are different types of CSS selectors.Let's see some of them: Different Types of Selectors CSS Class selector The class selector selects HTML element with a spec...00