Updates from the 102nd TC39 meeting

hemanth.hm - Jun 14 - - Dev Community

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 an Error 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:

Stage 3:

  • Promise.try: an ergonomic, readable, and intuitive way to invoke a function and always get a Promise.



Hemanth HM
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .