Status: New
Owner: ----
New issue 3491 by [email protected]: ReferenceError when using variable
in closure, in Object.keys(), in debugger
http://code.google.com/p/v8/issues/detail?id=3491
Simple test case, run this in the console:
(function() {
var foo = 1;
Object.keys({a: 1, a: 2}).forEach(function(k) {
debugger;
});
}());
When stopped in the debugger, the variable `foo` is not available.
Running "foo" in the console gives a ReferenceError.
When running this in a webpage, with a console.log instead of `debugger;`,
it works fine.
--
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.