tor-browser

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

numeric-separator-literal-lol-07-err.js (1043B)


      1 // |reftest| error:SyntaxError
      2 // Copyright (C) 2019 Leo Balter. All rights reserved.
      3 // Copyright (C) 2019 Leo Balter. All rights reserved.
      4 // This code is governed by the BSD license found in the LICENSE file.
      5 
      6 /*---
      7 esid: prod-NumericLiteralSeparator
      8 description: >
      9  NumericLiteralSeparator must not be in a LegacyOctalLikeDecimalIntegerLiteral (07_0)
     10    )
     11 info: |
     12  NumericLiteralSeparator ::
     13    _
     14 
     15  DecimalIntegerLiteral ::
     16    0
     17    NonZeroDigit DecimalDigitsopt
     18    NonZeroDigit
     19    NonZeroDigit NumericLiteralSeparator_opt DecimalDigits
     20    NonOctalDecimalIntegerLiteral
     21 
     22  NonOctalDecimalIntegerLiteral ::
     23    0 NonOctalDigit
     24    LegacyOctalLikeDecimalIntegerLiteral NonOctalDigit
     25    NonOctalDecimalIntegerLiteral DecimalDigit
     26 
     27  LegacyOctalLikeDecimalIntegerLiteral ::
     28    0 OctalDigit
     29    LegacyOctalLikeDecimalIntegerLiteral OctalDigit
     30 
     31  NonOctalDigit::one of
     32    8 9
     33 
     34  OctalDigit::one of
     35    0 1 2 3 4 5 6 7
     36 negative:
     37  phase: parse
     38  type: SyntaxError
     39 features: [numeric-separator-literal]
     40 ---*/
     41 
     42 $DONOTEVALUATE();
     43 
     44 07_0;