Muhammad Faraz AliUse Optional Chaining JudiciouslyOptional chaining is a powerful feature introduced in ECMAScript 2020 (ES11) that simplifies working with nested object properties and…Jun 9Jun 9
Muhammad Faraz AliDouble negation(!!-Not Not) in JavascriptThe bang bang/double bang (!!) operator, also known as the double negation operator, is a unary operator in JavaScript. It’s not a distinct…Mar 17Mar 17
Muhammad Faraz AliNullish coalescing operator (??) in JavascriptNullish coalescing operator (??), introduced in ECMAScript 2020 (ES11), simplifies the process of handling default values for variables…Mar 16Mar 16
Muhammad Faraz AliOptional Chaining Operator (?.) in JavascriptOptional chaining is a powerful feature introduced in ECMAScript 2020 (ES11) that simplifies working with nested object properties and…Mar 1Mar 1
Muhammad Faraz AliisNaN() in JavaScript.The 𝐢𝐬𝐍𝐚𝐍() function is a 𝐛𝐮𝐢𝐥𝐭-𝐢𝐧 𝐟𝐮𝐧𝐜𝐭𝐢𝐨𝐧 in JavaScript that is used to determine whether a 𝐕𝐀𝐋𝐔𝐄 is 𝐍𝐚𝐍…Apr 14, 2023Apr 14, 2023
Muhammad Faraz AliObject.seal() vs Object.freeze() in JavaScriptBoth methods allow you to control the mutability of objects, but they have different behaviors.Mar 26, 2023Mar 26, 2023