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

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

     1 /*
     2  * Any copyright is dedicated to the Public Domain.
     3  * http://creativecommons.org/licenses/publicdomain/
     4  */
     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);
    15 if (typeof reportCompare == 'function')
    16     reportCompare(true, true);

mercurial