Source code
Revision control
Copy as Markdown
Other Tools
function f() { return 2; }
function g(o) {
with (o) {
var f = function() { return 4; }
}
return f();
}
assertEq(g({}), 4);
function f() { return 2; }
function g(o) {
with (o) {
var f = function() { return 4; }
}
return f();
}
assertEq(g({}), 4);