summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/parser/bug-975484.js
blob: b164492240ff3003b3112e9dc0aad47bc31fd8a7 (plain)
1
2
3
4
5
6
7
var loc = Reflect.parse("f()").body[0].expression.loc;
assertEq(loc.start.column, 0);
assertEq(loc.end.column, 3);

loc = Reflect.parse("f(x)").body[0].expression.loc;
assertEq(loc.start.column, 0);
assertEq(loc.end.column, 4);