S7.8.4_A4.2_T3.js (842B)
1 // Copyright 2009 the Sputnik authors. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 info: "CharacterEscapeSequnce :: NonEscapeSequence" 6 es5id: 7.8.4_A4.2_T3 7 description: "NonEscapeSequence :: ENGLISH SMALL ALPHABET" 8 ---*/ 9 10 //CHECK#a-z without b, f, n, r, t, v, x, u 11 var CharacterCode = [0x0061, 0x0063, 0x0064, 0x0065, 0x0067, 0x0068, 0x0069, 0x006A, 0x006B, 0x006C, 0x006D, 0x006F, 0x0070, 0x0071, 0x0073, 0x0077, 0x0079, 0x007A]; 12 var NonEscapeCharacter = ["\a", "\c", "\d", "\e", "\g", "\h", "\i", "\j", "\k", "\l", "\m", "\o", "\p", "\q", "\s", "\w", "\y", "\z"]; 13 for (var index = 0; index <= 17; index++) { 14 if (String.fromCharCode(CharacterCode[index]) !== NonEscapeCharacter[index]) { 15 throw new Test262Error('#' + NonEscapeCharacter[index] + ' '); 16 } 17 } 18 19 reportCompare(0, 0);