tor-browser

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

numeric-separator-literal-hil-nsl-hd-err.js (697B)


      1 // |reftest| error:SyntaxError
      2 // Copyright (C) 2017 the V8 project authors. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 
      5 /*---
      6 esid: prod-NumericLiteralSeparator
      7 description: >
      8  NumericLiteralSeparator may not be the last digit character of a
      9  HexIntegerLiteral
     10 info: |
     11  NumericLiteralSeparator ::
     12    _
     13 
     14  HexIntegerLiteral ::
     15    0x HexDigits
     16    0X HexDigits
     17 
     18  HexDigits ::
     19    HexDigit
     20    HexDigits HexDigit
     21    HexDigits NumericLiteralSeparator HexDigit
     22 
     23  HexDigit::one of
     24    0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F
     25 
     26 negative:
     27  phase: parse
     28  type: SyntaxError
     29 
     30 features: [numeric-separator-literal]
     31 ---*/
     32 
     33 $DONOTEVALUATE();
     34 
     35 0x0_