summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug946284.js
blob: 58bb8a37b6a54c29e71f197b9d3b3aa1af6ac2e8 (plain)
1
2
3
4
5
function f(x) {
    return x.length / 2
}
f("")
assertEq(f(undefined + ""), 4.5);