ECMAScript excitement 😉
This week @TC39 advanced these proposals 🎉
4⃣ Import Attributes
4⃣ Iterator Helpers
4⃣ Promise.try
4⃣ RegExp Modifiers
3⃣ Atomics.pause
3⃣ Math.sumPrecise
2⃣.7⃣ Error.isError
2⃣.7⃣ Iterator Sequencing
2⃣ Extractors
2⃣ Iterator Chunking
2⃣ Structs
🧵
Oct 10, 2024 · 6:51 AM UTC
7
50
282
34,145
This week @TC39 also advanced these proposals:
1⃣ Array .zip
1⃣ Immutable ArrayBuffer
1⃣ Measure Object
1
1
22
1,440
4⃣ Import Attributes
ECMAScript excitement 😉
Congrats to @NicoloRibaudo on advancing both Import Attributes & JSON Modules to Stage 4 at @TC39 today 🎉
It introduces the `with` keyword for imports. Chrome successfully unshipped the `assert` keyword 👍
github.com/tc39/proposal-imp…
1
7
1,760
4⃣ Iterator Helpers
ECMAScript excitement 😉
Congrats to @smooshMap on advancing the Iterator Helpers proposal to Stage 4 at @TC39 today 🎉
github.com/tc39/proposal-ite…
1
5
1,632
4⃣ RegExp Modifiers
ECMAScript excitement 😉
Congrats to @rbuckton on advancing RegExp Modifiers to Stage 4 at @TC39 today 🎉
It lets you change the active regular expression flags within a subexpression. For example enabling case/multiline/single-line mode.
github.com/tc39/proposal-reg…
1
4
1,272
3⃣ Atomics.pause
ECMAScript excitement 😉
Congrats to @_shu on advancing Atomics.pause to Stage 3 at @TC39 today 🎉
Atomics.pause(IterationNumber) permits short finite-time spin locks on the main thread whilst remaining CPU-efficient.
github.com/tc39/proposal-ato…
1
4
1,138
3⃣ Math.sumPrecise
ECMAScript excitement 😉
Congrats to @bakkoting on advancing Math.sumPrecise to Stage 3 at @TC39 today 🎉
Math.sumPrecise([1, 2]); // 3
It performs full-precision floating point summation on an iterable. So no need to use reduce() for basic sum 👍
1
4
1,025
2⃣.7⃣ Error.isError
ECMAScript excitement 😉
Congrats to @ljharb on advancing Error.isError to Stage 2.7 @TC39 today 🎉
Error.isError() allows you to test if a value is an Error instance. It works even if the Error originates from another Realm, similar to Array.isArray 👍
github.com/tc39/proposal-is-…
1
4
951
2⃣.7⃣ Iterator Sequencing
ECMAScript excitement 😉
Congrats to @smooshMap on advancing the Iterator Sequencing proposal to Stage 2.7 at @TC39 today 🎉
It helps you create an iterator by stitching together a sequence of iterators.
let it = Iterator.concat(it1, it2, ...)
github.com/tc39/proposal-ite…
1
5
909
2⃣ Extractors
ECMAScript excitement 😉
Congrats to @rbuckton on advancing Extractors to Stage 2 at @TC39 today 🎉
const C(x, y) = subject;
It allows you to run arbitrary code during destructuring. This permits validation and normalization of values.
github.com/tc39/proposal-ext…
2
4
881
2⃣ Structs
ECMAScript excitement 😉
Congrats to @_shu on advancing Structs & Shared Structs to Stage 2 at @TC39 today 🎉
This is an enabler for shared-memory multi-threading.
github.com/tc39/proposal-str…
1
4
815
1⃣ Immutable ArrayBuffer
ECMAScript excitement 😉
Congrats to @marksammiller on advancing Immutable ArrayBuffers to Stage 1 at @TC39 today 🎉
It provides access to immutable bulk binary data, e.g. for using data stored in device ROM.
github.com/Agoric/tc39-propo…
1
4
733
1⃣ Measure Object
ECMAScript excitement 😉
Congrats to Ben Allen on advancing the Measure Object proposal to Stage 1 at @TC39 today 🎉
It provides localized conversion functions for weights and measures based on the Unicode Common Locale Data (CLDR).
github.com/ben-allen/proposa…
1
4
677
The full agenda is here. Notes will be posted in 2-3 weeks.
github.com/tc39/agendas/blob…
1
6
1,158








