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.
#欢迎关注爱范儿官方微信公众号:爱范儿(微信号:ifanr),更多精彩内容第一时间为您奉上。
。业内人士推荐服务器推荐作为进阶阅读
│ Untrusted Code │
ВсеКиноСериалыМузыкаКнигиИскусствоТеатр
Nasa said he had "turned a potential tragedy into a success" after an attempt to land on the Moon was aborted because of an explosion onboard the spacecraft while it was hundreds of thousands of miles from Earth.