tor-browser

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

numeric-separator-literal-nzd-nsl-dds.js (610B)


      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: NonZeroDigit NumericLiteralSeparator DecimalDigits
      7 info: |
      8  NumericLiteralSeparator ::
      9    _
     10 
     11  DecimalIntegerLiteral ::
     12    ...
     13    NonZeroDigit NumericLiteralSeparator_opt DecimalDigits
     14 
     15  NonZeroDigit :: one of
     16    1 2 3 4 5 6 7 8 9
     17 
     18  DecimalDigits ::
     19    ...
     20    DecimalDigits DecimalDigit
     21    ...
     22 
     23 features: [numeric-separator-literal]
     24 ---*/
     25 
     26 assert.sameValue(1_0123456789, 10123456789);
     27 
     28 reportCompare(0, 0);