blob: eed3b6d72c4033f8d77180151e8958c0dfc910fe (
plain)
1
2
3
4
5
6
|
function f() { return g(abcd => Error()); }
function g(x) { return x(); }
var err = f(1, 2);
var lines = err.stack.split("\n");
assertEq(lines[0].endsWith(":1:33"), true);
assertEq(lines[1].endsWith(":2:24"), true);
|