blob: 7c9992427024dbd72966f8e68c5b0228c9bd5d1a (
plain)
1
2
3
4
5
6
7
8
9
10
|
function f(x, y) {
for (var i=0; i<50; i++) {
if (i % 10 === 0) {
var stack = getBacktrace({args: true, locals: true, thisprops: true});
assertEq(stack.includes("f(x = "), true);
foo = arguments;
}
}
}
f(1, 2);
|