js/src/tests/ecma_5/misc/unicode-identifier-82f1.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:6cfca63b0efc
1 /*
2 * Any copyright is dedicated to the Public Domain.
3 * http://creativecommons.org/licenses/publicdomain/
4 */
5
6 var o = {}
7 try {
8 eval('o.\\u82f1 = 42;');
9 }
10 catch (e) {
11 assertEq('should not fail', true);
12 }
13 assertEq(o['\u82f1'], 42);
14
15 if (typeof reportCompare == 'function')
16 reportCompare(true, true);

mercurial