[Webkit-unassigned] [Bug 74193] typeof Node should be function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 9 08:30:13 PST 2015


--- Comment #1 from Oliver Hunt <oliver at apple.com> ---
Node is a constructor, not a function.

ES spec is fairly clear on this -- typeof x === "function" only if x is directly callable.

If the webidl spec now calls for element constructors to be callable directly (instead of via new) then the bug here is that NodeConstructor isn't a function, not any of the other things you're claiming.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150209/4b121651/attachment-0002.html>

More information about the webkit-unassigned mailing list