tor-browser

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

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


      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 NumericLiteralSeparator DecimalDigits
      8  ExponentPart SignedInteger
      9 info: |
     10  NumericLiteralSeparator ::
     11    _
     12 
     13  DecimalLiteral ::
     14    . DecimalDigits ExponentPart_opt
     15 
     16  DecimalDigits ::
     17    ...
     18    DecimalDigits NumericLiteralSeparator DecimalDigit
     19 
     20  ExponentIndicator :: one of
     21    e E
     22 
     23 features: [numeric-separator-literal]
     24 ---*/
     25 
     26 assert.sameValue(10.00_01e2, 10.0001e2);
     27 
     28 reportCompare(0, 0);