js/src/jit-test/tests/basic/bug585542.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:ef986f70b209
1 function f() { return 2; }
2 function g(o) {
3 with (o) {
4 var f = function() { return 4; }
5 }
6 return f();
7 }
8
9 assertEq(g({}), 4);
10
11

mercurial