Re: [heycam/webidl] Specify what typeof should return for exotic objects (#640)

Ms2ger commented on this pull request.



> @@ -6712,6 +6713,10 @@ of objects defined in this section has the value <emu-val>true</emu-val>.
 Unless otherwise specified, the \[[Prototype]] internal slot
 of objects defined in this section is {{%ObjectPrototype%}}.
 
+Unless otherwise specified, when the {{ECMAScript/typeof}} operator is called
+on an exotic object that is not a [=function object=] defined in this section
+and other specifications, the string "<code>object</code>" is returned.

Do we need a "must" somewhere?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/640#pullrequestreview-200962062

Received on Thursday, 7 February 2019 08:24:34 UTC