[heycam/webidl] typeof operator and platform objects (#512)

The [`typeof` operator](https://tc39.github.io/ecma262/#table-35) is defined for "Object (non-standard exotic and does not implement [[Call]])" to return "Implementation-defined. Must not be "undefined", "boolean",  "function", "number", "symbol", or "string"."

It's not immediately clear to me what "non-standard exotic" means, but if I were to interpret "non-standard" strictly (i.e. non-ECMA-262) then named property objects, legacy platform objects, etc. are all non-standard. We should say that they should all return "object"

-- 
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/issues/512

Received on Thursday, 18 January 2018 21:05:50 UTC