Tagged articles
5 articles
Page 1 of 1
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Nov 13, 2024 · Fundamentals

Master the New &&= and ??= Operators in JavaScript

The article explains ECMAScript 2021's logical assignment operators &&= and ??=, detailing their semantics, showing traditional equivalents, listing truthy/falsy values, and providing practical code examples and use‑cases for concise conditional assignments.

JavaScriptes2021logical-assignment
0 likes · 6 min read
Master the New &&= and ??= Operators in JavaScript
21CTO
21CTO
May 25, 2021 · Frontend Development

Unlock JavaScript 2021: 5 Game-Changing Features You Must Master

This article explores five powerful JavaScript 2021 enhancements—including logical assignment operators, replaceAll, numeric separators, Promise.any, and WeakRef/Finalizers—explaining their syntax, behavior, and practical code examples to help developers write cleaner, more efficient code.

2021 featuresFinalizationRegistryJavaScript
0 likes · 8 min read
Unlock JavaScript 2021: 5 Game-Changing Features You Must Master
KooFE Frontend Team
KooFE Frontend Team
Jan 25, 2021 · Frontend Development

Explore 5 Powerful ES2021 JavaScript Features You Should Start Using

This article introduces five new ES2021 JavaScript features—including replaceAll, Promise.any, logical assignment operators, numeric separators, and WeakRefs—explaining their behavior, usage examples, and browser support so developers can quickly adopt them.

Frontend DevelopmentJavaScriptPromise.any
0 likes · 7 min read
Explore 5 Powerful ES2021 JavaScript Features You Should Start Using