There were several items on the agenda, this post focuses on feature proposals and their progress from the 101th TC39 meeting [11-13th June 2024].
Stage 2:
Error.isError:
Error.isError
tests if a value is anError
instance, irrespective of its Realm origin.ESM Phase Imports: Solves the static worker module analysis problem for JavaScript, through defining suitable phase imports for Source Text Module.
Discard Bindings: Discard
void
bindings.Iterator Sequencing: create iterators by sequencing existing iterators
Stage 2.7:
Deferred Import Evaluation: a way to defer evaluate of a module.
Joint Iteration:synchronise the advancement of multiple iterators
RegExp.escape: proposal seeks to investigate the problem area of escaping a string for use inside a Regular Expression.
Stage 3:
- Promise.try: an ergonomic, readable, and intuitive way to invoke a function and always get a Promise.
Hemanth HM
Top comments (5)
What is stage 2.7?
It's a new stage introduced last year. I gave two presentations about it recently but we should do a public post too @hemanth what do you think?
@ryzokuken for sure!
Good to know, thanks for the update.