Additional reporting by Emma Calder
The design of Web streams predates async iteration in JavaScript. The for await...of syntax didn't land until ES2018, two years after the Streams Standard was initially finalized. This timing meant the API couldn't initially leverage what would eventually become the idiomatic way to consume asynchronous sequences in JavaScript. Instead, the spec introduced its own reader/writer acquisition model — and that decision rippled through every aspect of the API.
,这一点在搜狗输入法2026中也有详细论述
输入:nums = [2,1,2,4,3]
No custom ReadableStream class with hidden internal state. A readable stream is just an AsyncIterable. You consume it with for await...of. No readers to acquire, no locks to manage.
The parameters for onboarding new developers are now clearly defined, with a low barrier to entry focused on competence with the tools. These tests are called showcases.