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-dd-err.js (606B)


      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 adjacent to `.`
      9 info: |
     10  NumericLiteralSeparator ::
     11    _
     12 
     13  DecimalLiteral ::
     14    DecimalIntegerLiteral . DecimalDigits_opt ExponentPart_opt
     15 
     16  DecimalDigits ::
     17    ...
     18    DecimalDigits NumericLiteralSeparator DecimalDigit
     19 
     20 negative:
     21  phase: parse
     22  type: SyntaxError
     23 
     24 features: [numeric-separator-literal]
     25 ---*/
     26 
     27 $DONOTEVALUATE();
     28 
     29 10._1