Conditional Value Assignment and Method Invocation in JavaScriptThis approach will help you to write cleaner code in fewer lines. However, this won’t have much effect on performance.Jul 18Jul 18
Usage of FlatMap in JavaScript?If you’ve already searched for its definition, you’d have learned that Flatmap will first map the elements and then flatten them.Dec 13, 2023Dec 13, 2023
CSS to SCSS migration 1 min for existing project.I will help you migrate an existing complex/simple project’s stylesheets from CSS to SCSS with minimal manual effort.Dec 12, 2023Dec 12, 2023
Nullish coalescing operator (??) in JavaScriptThe nullish coalescing operator accepts two values and returns the second value if the first value is null or undefined.Sep 27, 2023Sep 27, 2023
Double negation(!!-Not Not) in JavaScriptDouble negation converts a non-boolean to an inverted boolean value. This helps in checking the truthiness of a value, by representing it…Sep 27, 2023Sep 27, 2023
Usage of Optional chaining (?.) in JSAre you working with deep and complex objects in JavaScript? Then you are at the right place.Sep 27, 2023Sep 27, 2023
How to optimize single if condition in JavaScriptHi, this article will help you in optimizing single if loop with different approaches.Aug 17, 2023Aug 17, 2023
Use the ‘With’ method to update an array without mutatingIn JavaScript, we can achieve the immutability of an array, by taking a copy of the original array with the Spread operator and performing…May 31, 2023May 31, 2023
Sort Array of Strings in JavaScriptHere I’m sharing three ways to sort an array of strings in JS.Mar 15, 2023Mar 15, 2023
Optimize complex else if statements in JavaScriptSometimes we have to write complex else-if statements to verify multiple conditions.Feb 27, 2023Feb 27, 2023