summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/extensions/uneval/regress-621814.js
blob: 7e661d97a861e9cf394447fabf19aaeee9e4ec6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// |reftest| skip-if(!this.uneval)

/*
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/
 */
var expect = 'pass';
var actual = expect;
function f({"\xF51F": x}) {}
try {
    eval(uneval(f));
} catch (e) {
    actual = '' + e;
}
reportCompare(expect, actual, "");