Status: New
Owner: ----
New issue 2171 by [email protected]: toString() doesn't return an
equivalent representation if strict mode is inherited
http://code.google.com/p/v8/issues/detail?id=2171
function strict_outer() {
"use strict";
function strict_inner() {
return typeof this == "undefined";
}
return strict_inner;
}
print(strict_outer()()); // gives true
eval(strict_outer().toString());
print(strict_inner()); // gives false
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev