Status: New
Owner: ----
New issue 615 by [email protected]: "instanceof" operator broken in V8
v2.0.6.4
http://code.google.com/p/v8/issues/detail?id=615
I have compiled/embedded V8 v2.0.6.4 on my server (x64 linux). I run the
example "shell" program included, and provide the following code bits to
it:
var arr = []; print((arr instanceof Array)); // "false"
var arr = []; print((arr.constructor === Array)); // "true"
function Foo(){};var bar = new Foo(); print((bar instanceof
Foo)); // "false"
function Foo(){};var bar = new Foo(); print((bar.constructor ===
Foo)); // "true"
Therefore, it's my belief that the "instanceof" operator is broken in this
build. I have no information if this is a regression or not, but I can say
for sure that the above usages *do* work in Google Chrome's embedding of
V8.
Windows XP, Chrome 4.0.249.89 dev (38071)
--
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