Re: [heycam/webidl] Should namespace objects have "length" and "name" own properties? (#949)

They should not. This is due to incorrect implementations of them as functions instead of namespace objects. You could also test that typeof x === "object" (not "function").

-- 
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/949#issuecomment-764985943

Received on Thursday, 21 January 2021 22:37:26 UTC