There were several items on the agenda, this post focuses on feature proposals and their progress from the 104th TC39 meeting [8th-10th October 2024].
Representing Measures: Proposal to format and represent measurements with proper units in JavaScript.
Immutable ArrayBuffers: Adds immutable variants of ArrayBuffer to ensure buffer contents cannot be changed.
Array.zip: A method that creates an array of arrays, where each sub-array contains elements at the same index from multiple input arrays.
Iterator chunking: Adds a utility to create chunks from iterators, returning fixed-size groups of elements.
Extractors: Provides utilities for data extraction, allowing structured data to be parsed and manipulated.
Structs: Introduces structured data types that are more predictable and memory-efficient for JavaScript.
Error.isError: Enhances the Error.isError method for better error detection.
Iterator Sequencing: Adds sequencing utilities to iterators, allowing more control over execution order.
Promise.try: Provides a utility to handle synchronous exceptions within promises more easily.
Sync Iterator Helpers: Extends iterators with helper methods to improve their usability in synchronous contexts.
Import Attributes: Proposal for syntax to import ES modules with assertions
JSON modules: Proposal to import JSON files as modules.
RegExp Modifiers: Enhances regular expressions with additional modifiers, allowing more flexible pattern matching.
Additionally The TG4 source maps spec got conditional consensus.
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3