ECMAScript 2021 introduces Promise.any() and AggregateErrorECMAScript 2021 introduces Promise.any() method which accepts an iterable of promises and waits for the first promise to fulfill, and its result becomes the outcome. If all the passed promises are rejected, it returns an AggregateError.
ECMAScript 2021 introduces replaceAll method and numeric separatorsECMAScript 2021 introduces the replaceAll() method to replace all occurrences of a substring in a string with another string and numeric separators to allow a separator character between digits.
Babel 7.14 enables class fields & private methods by default in @babel/preset-envStarting from Babel 7.14 @babel/plugin-proposal-class-properties and @babel/plugin-proposal-private-methods plugins are enabled by default in @babel/preset-env.
ES 12/2021 introduces new logical assignment operatorsES 12/2021 introduces new logical assignment operators for nullish(??=), AND(&&=) and OR(||=).
How to investigate your build size in WebpackLet us look at a few handy tools that can help us in analyzing and reducing our bundle size.