summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/misc/unicode-identifier-82f1.js
blob: 313832cc378108190660c93d902047e5fe10b05d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/
 */

var o = {}
try {
    eval('o.\\u82f1 = 42;');
}
catch (e) {
    assertEq('should not fail', true);
}
assertEq(o['\u82f1'], 42);

if (typeof reportCompare == 'function')
    reportCompare(true, true);