tor-browser

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

numeric-separator-literal-hil-hds-nsl-hd.js (654B)


      1 // Copyright (C) 2017 the V8 project authors. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: prod-NumericLiteralSeparator
      6 description: >
      7  `0x` | `0X` HexDigits NumericLiteralSeparator HexDigit
      8 info: |
      9  NumericLiteralSeparator ::
     10    _
     11 
     12  HexIntegerLiteral ::
     13    0x HexDigits
     14    0X HexDigits
     15 
     16  HexDigits ::
     17    HexDigit
     18    HexDigits HexDigit
     19    HexDigits NumericLiteralSeparator HexDigit
     20 
     21  HexDigit::one of
     22    0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F
     23 
     24 features: [numeric-separator-literal]
     25 ---*/
     26 
     27 assert.sameValue(0x01_0, 0x010);
     28 assert.sameValue(0X01_0, 0X010);
     29 
     30 reportCompare(0, 0);