Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
4 /**
5 * IdentifierStart :: _
6 *
7 * @path ch07/7.6/S7.6_A1.3_T3.js
8 * @description The _ as unicode character \u005F
9 */
11 //CHECK#1
12 var identifier = String.fromCharCode(0x005F);
13 eval("var " + identifier + "=1");
14 if (eval(identifier + "===1") !== true) {
15 $ERROR('#1: var identifier = String.fromCharCode(0x005F); eval("var " + identifier + "=1"); eval(identifier + "===1") === true');
16 }
18 //CHECK#2
19 if ("_" !== String.fromCharCode(0x005F)) {
20 $ERROR('#2: "_" === String.fromCharCode(0x005F)');
21 }