tor-browser

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

numeric-separator-literal-dd-dot-dd-ep-sign-minus-dd-nsl-dd.js (635B)


      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  DecimalDigits `.` DecimalDigits ExponentPart_opt `-` DecimalDigits
      8 info: |
      9  NumericLiteralSeparator ::
     10    _
     11 
     12  DecimalLiteral ::
     13    DecimalIntegerLiteral . DecimalDigits_opt ExponentPart_opt
     14 
     15  DecimalDigits ::
     16    ...
     17    DecimalDigits NumericLiteralSeparator DecimalDigit
     18 
     19  SignedInteger ::
     20    ...
     21    - DecimalDigits
     22    ...
     23 
     24 features: [numeric-separator-literal]
     25 ---*/
     26 
     27 assert.sameValue(1.0e-1_0, 1.0e-10);
     28 
     29 reportCompare(0, 0);