[Webkit-unassigned] [Bug 144396] TypeOf should be fast

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 29 10:58:11 PDT 2015


--- Comment #2 from Filip Pizlo <fpizlo at apple.com> ---
(In reply to comment #1)
> Side note: The DOM would like more control over the behavior of "typeof x ==
> 'function'". For example, I believe that global constructors want to be
> 'function' even though they are not callable. So, adding something explicit
> to the object model may help the DOM.

Interesting. My changes will preserve current behavior. If we want global constructors to claim to be functions even though this doesn't happen currently, then we should add another type flag for this purpose.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150429/285d99ba/attachment.html>

More information about the webkit-unassigned mailing list