summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/evaluate-negative-column.js
blob: c86bd204472f63b226ca0989a2dbdaf6fbd0af78 (plain)
1
2
3
// Negative column number should be handled as the first column.
const column = evaluate("new Error().columnNumber;", { columnNumber: -1 });
assertEq(column, 1);