There were several items on the agenda, this post focuses on feature proposals and their progress from the 99th TC39 meeting [6-8th Feb 2024].
Stage 1:
Iterator Unique: add a method to iterators to produce an iterator of only its unique values.
Micro and mini waits: Micro and mini waits in JS.
Joint Iteration: synchronise the advancement of multiple iterators.
iterator chunking: add a method to iterators for producing an iterator of its subsequences.
Improved Escapes for Template Literals: raw string literals that can contain any arbitrary text.
Math.sum: add a method to sum multiple values.
Module Sync Assert: Attempting to resolve issues with an async module in the dependency graph causing bugs or breaking changes in the current module.
ESM Phase Imports: Solves the static worker module analysis problem by defining phase imports for Source Text Module.
Function and Object Literal Decorators: Decorators for Function Expressions and Declarations.
Discard" (void) Bindings:
void
discard bindings for ECMAScript
Stage 2:
- Promise.try:an ergonomic, readable, and intuitive way to invoke a function and always get a Promise.
Stage 3:
- Uint8Array to/from Base64: Uint8Array<->base64/hex.
Stage 4:
-
ArrayBuffer:
ArrayBuffer.prototype.transfer
and friends.
To Inactive State:
Math Extensions: Math Extensions.
Generator arrow functions: Generator arrow functions.
Math.signbi: IEEE-754 sign bit.
@gnumanth