Status: New
Owner: ----
New issue 3218 by [email protected]: ((new X())())(); does not work
http://code.google.com/p/v8/issues/detail?id=3218
var X = function() {
return function() {
console.log("level 1");
return function() {
console.log("level 2");
};
};
};
// var x2 = new X();
((new X())())();
Using node, v0.11.9 this produces an error
((new X())())(); ^
TypeError: undefined is not a function
However if you uncomment the var x2 line, it works as expected. It also
works with jsFiddle as is.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.