tor-browser

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

numeric-separator-literal-dil-dot-nsl-ep-err.js (662B)


      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 appear between `.` and ExponentPart
      9 info: |
     10  NumericLiteralSeparator ::
     11    _
     12 
     13  DecimalLiteral ::
     14    DecimalIntegerLiteral . DecimalDigits_opt ExponentPart_opt
     15 
     16  DecimalDigits ::
     17    ...
     18    DecimalDigits NumericLiteralSeparator DecimalDigit
     19 
     20  ExponentIndicator :: one of
     21   e E
     22 
     23 negative:
     24  phase: parse
     25  type: SyntaxError
     26 
     27 features: [numeric-separator-literal]
     28 ---*/
     29 
     30 $DONOTEVALUATE();
     31 
     32 10._e1