summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/string-compare.js
blob: 001d0856e21b6d537a973f18e570fc09fd445c5f (plain)
1
2
3
4
5
6
7
8
9
function f(a, b) {
    return a == b;
}

var X = "" + Math.random();
var Y = "" + Math.random();

assertEq(f(X + Y, X + Y), true);