tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

vals-cjk.js (1019B)


      1 // Copyright (C) 2019 Student Main. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 /*---
      4 info: |
      5    IdentifierName and ReservedWord are tokens that are interpreted according to the 
      6    Default Identifier Syntax given in Unicode Standard Annex #31, 
      7    Identifier and Pattern Syntax, with some small modifications.
      8 esid: sec-names-and-keywords
      9 description: Check CJK UNIFIED IDEOGRAPH range is correct.
     10 ---*/
     11 
     12 // CJK UNIFIED IDEOGRAPH 4e00-9fff
     13 // u4e00
     14 var  = 1;
     15 assert.sameValue(, 1);
     16 
     17 // u6c5f, check parser included all CJK range not only first and last character
     18 var  = 1;
     19 assert.sameValue(, 1);
     20 
     21 // u9fa5, last character in CJK UNIFIED IDEOGRAPH as for 2019
     22 var  = 1;
     23 assert.sameValue(, 1);
     24 
     25 // CJK UNIFIED IDEOGRAPH EXTENDED A 3400-4dbf
     26 // u3400
     27 var  = 1;
     28 assert.sameValue(, 1);
     29 
     30 // u362e
     31 var  = 1;
     32 assert.sameValue(, 1);
     33 
     34 // u4db5, last in CJK UNIFIED IDEOGRAPH EXTENDED A
     35 var  = 1;
     36 assert.sameValue(, 1);
     37 
     38 reportCompare(0, 0);