summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/symbol/toNumber-2.js
blob: 05a3224e962507a30d47cf9e8a11880a69e217ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// |jit-test| error: ReferenceError
function eq(e, a) {
    passed = (a == e);
}
function f(e, a) {
    fail();
    eq(e, a);
}
try {
    f();
} catch (exc1) {}
eq(.1, .1);
var sym = Symbol("method");
evaluate("f(test, sym, 0)", {isRunOnce:true});