Es2021

ES2021 WeakRef and FinalizationRegistry

ECMAScript2021 introduces new features WeakRef and FinalizationRegistry to manage garbage collection.

ES2021 Promise.any and AggregateError

ES2021 introduces Promise.any() which resolves with the first fulfilled promise, and AggregateError for handling multiple rejections.

ES2021 replaceAll and Numeric Separators

ECMAScript 2021 introduces replaceAll() method and numeric separators for better string manipulation and number readability.

ES2021 Logical Assignment Operators

ES 12/2021 introduces new logical assignment operators for nullish(??=), AND(&&=) and OR(||=).