Open in app

Sign in

Medium Logo
Write

Sign in

PaperInFlames
PaperInFlames

27 followers

Home

About

Conditional Value Assignment and Method Invocation in JavaScript

This approach will help you to write cleaner code in fewer lines. However, this won’t have much effect on performance.

Jul 18, 2024
Conditional Value Assignment and Method Invocation in JavaScript
Conditional Value Assignment and Method Invocation in JavaScript
Jul 18, 2024

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, 2023
Usage of FlatMap in JavaScript?
Usage of FlatMap in JavaScript?
Dec 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, 2023
CSS to SCSS migration 1 min for existing project.
CSS to SCSS migration 1 min for existing project.
Dec 12, 2023

Nullish coalescing operator (??) in JavaScript

The nullish coalescing operator accepts two values and returns the second value if the first value is null or undefined.

Sep 27, 2023
Nullish coalescing operator (??) in JavaScript
Nullish coalescing operator (??) in JavaScript
Sep 27, 2023

Double negation(!!-Not Not) in JavaScript

Double negation converts a non-boolean to an inverted boolean value. This helps in checking the truthiness of a value, by representing it…

Sep 27, 2023
Double negation(!!-Not Not) in JavaScript
Double negation(!!-Not Not) in JavaScript
Sep 27, 2023

Usage of Optional chaining (?.) in JS

Are you working with deep and complex objects in JavaScript? Then you are at the right place.

Sep 27, 2023
Usage of Optional chaining (?.) in JS
Usage of Optional chaining (?.) in JS
Sep 27, 2023

How to optimize single if condition in JavaScript

Hi, this article will help you in optimizing single if loop with different approaches.

Aug 17, 2023
How to optimize single if condition in JavaScript
How to optimize single if condition in JavaScript
Aug 17, 2023

Use the ‘With’ method to update an array without mutating

In 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, 2023
Use the ‘With’ method to update an array without mutating
Use the ‘With’ method to update an array without mutating
May 31, 2023

Sort Array of Strings in JavaScript

Here I’m sharing three ways to sort an array of strings in JS.

Mar 15, 2023
Sort Array of Strings in JavaScript
Sort Array of Strings in JavaScript
Mar 15, 2023

Optimize complex else if statements in JavaScript

Sometimes we have to write complex else-if statements to verify multiple conditions.

Feb 27, 2023
Method that returns Discount Price
Method that returns Discount Price
Feb 27, 2023
PaperInFlames

PaperInFlames

27 followers

Artist and Writer

Help

Status

About

Careers

Press

Blog

Privacy

Rules

Terms

Text to speech