ECMAScript 2024 features you can use now
Briefly

Promise.withResolvers offers external control over resolution and rejection in asynchronous operations, creating Promise, resolve(), reject() functions as externally exposed references for better handling of promises.
Object.groupBy and Map.groupBy enable organizing collections based on key properties, while Atomics.waitAsync ensures safe communication between worker threads, and String.isWellFormed/String.toWellFormed aid in handling user input and network data.
Read at InfoWorld
[
]
[
|
]