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


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