summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/arrow-functions/column-number.js
blob: e5e34f80a52703e5f4b2e86ec416f530ae548d13 (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);