Re: [whatwg/streams] assert invariants in InvokeOrNoop and friends (#584)

ricea commented on this pull request.



>    1. Assert: ! IsPropertyKey(_P_) is *true*.
-  1. If _args_ was not passed, let _args_ be a new empty List.
+  1. Assert: _args_ is a List.

If we did this following the "If _args_ was not passed, let _args_ be a new empty List." step then we could satisfy the expectation that args is optional.

-- 
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/584#pullrequestreview-6557874

Received on Tuesday, 1 November 2016 02:37:41 UTC