Status: New
Owner: ----
New issue 686 by [email protected]: "With" and function scope
http://code.google.com/p/v8/issues/detail?id=686
Problem description:
(function(a){with(a){function b(){return x}return b()}})({x:1});
Will produce error "undefined variable"
While:
(function(a){with(a){return(function (){return x})()}})({x:1});
Will produce "1"
--
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