tor-browser

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

numeric-separator-literal-dot-dd-nsl-dds-ep.js (608B)


      1 // Copyright (C) 2017 the V8 project authors. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: prod-NumericLiteralSeparator
      6 description: >
      7  `.` DecimalDigit NumericLiteralSeparator DecimalDigits ExponentPart
      8 info: |
      9  NumericLiteralSeparator ::
     10    _
     11 
     12  DecimalLiteral ::
     13    . DecimalDigits ExponentPart_opt
     14 
     15  DecimalDigits ::
     16    DecimalDigit
     17    ...
     18    DecimalDigits NumericLiteralSeparator DecimalDigit
     19 
     20  ExponentIndicator :: one of
     21    e E
     22 
     23 features: [numeric-separator-literal]
     24 ---*/
     25 
     26 assert.sameValue(.1_01e2, .101e2);
     27 
     28 reportCompare(0, 0);