Issue 134: instanceof operator throws illegal TypeError
http://code.google.com/p/v8/issues/detail?id=134
Comment #1 by kodandersson:
Clause 11.8.6, item 6:
"If Result(4) does not have a [[HasInstance]] method, throw a TypeError
exception."
The object o in the example does not have a [[HasInstance]] method, so the
current
behavior seems correct to me.
Whether the error message is misleading or not, I cannot say...
Issue attribute updates:
Status: WorkingAsIntended
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---