blob: cee9edba51d156c270c863a0f782ec6893c5f993 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
function foo() {
with ({}) {}
return bar(arguments);
}
function bar(x) {
assertEq(x.callee.name, "foo");
assertEq(arguments.callee.name, "bar");
}
for (var i = 0; i < 100; i++) {
foo();
}
|