All Posts

Kindness

Pinned post

Kindness is often underrated in tech communities. ...

2020-08-02 10:10 UTC

Legacy Edge and the Global Environment

Posted 2020-08-02 10:10 UTC in javascript globals web legacy-edge

When Microsoft Edge switched to Chromium, I was both happy and sad about it. Happy because the Chromium projects (V8, Blink, ...) are high-quality, up-to-date, and quite standards-focussed (even if Google may get ahead of itself sometimes), so it's…

2020-07-25 17:45 UTC

The `item` Method for Indexables

Posted 2020-07-25 17:45 UTC in javascript string array typed-array

New at Stage 2, the item proposal will add an item method to strings, arrays, and typed arrays (collectively, "indexables". Let's take a look! (Stage 2 proposals are works-in-progress. For example: just five hours or so after this was first posted, a…

2020-07-23 10:45 UTC

Proposal Updates from July 2020 Meeting

Posted 2020-07-23 10:45 UTC in javascript proposals tc39

The TC39 July 2020 meeting has concluded! I haven't had time to run through the notes yet, but several proposals I covered in Chapter 19 of the book ("A look ahead...") have moved to Stage 4 (e.g., finished)! Promise.any and AggregateError WeakRefs…

Why Make `fetch`'s Response Body a Stream?

Posted 2020-07-23 10:20 UTC in javascript web fetch

Émile Bergeron asked on Twitter why fetch's Response body is a stream: Can someone explain to me what's the advantage of a readable stream for the response body? In my mind, parsing the body as JSON should be idempotent, but there's probably a good…

`cleanupSome` Is Its Own Proposal Now

Posted 2020-07-23 09:45 UTC in javascript weakrefs finalizationregistry

In Chapter 19 of the book ("A look ahead...") I cover the WeakRefs proposal, which at the time was Stage 3. As of the July 2020 meeting, WeakRefs is Stage 4 (yay!) — but FinalizationRegistry.prototype.cleanupSome has been split off to its own…

2020-07-21 15:05 UTC

New: Logical Assignment Operators

Posted 2020-07-21 15:05 UTC in javascript new-toys

Since I finished the book, a new proposal has reached Stage 3 4 (as of the July 2020 meeting): Logical Assignment Operators. It adds three new compound assignment operators to the language: ||=, &&=, and ??=. At first glance it seems like these would…

Kindness

Pinned post

Kindness is often underrated in tech communities. ...