Re: [whatwg/streams] Remove optional from chunk parameter in QueuingStrategySize (#1164)

I believe this would have the observable effect of the following:

```js
const s = new CountQueuingStrategy();
s.size(); // now throws; didn't previously
```

Since it seems bad to treat no argument and `undefined` differently, I think the current spec might be better?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1164#issuecomment-914502531

Received on Tuesday, 7 September 2021 17:49:04 UTC