tor-browser

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

non-octal-like-invalid-09n.js (657B)


      1 // |reftest| error:SyntaxError
      2 // Copyright (C) 2019 Leo Balter. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 
      5 /*---
      6 esid: prod-NumericLiteral
      7 description: >
      8  The BigInt suffix is disallowed in NonOctalDecimalIntegerLiteral
      9 info: |
     10  NumericLiteral ::
     11    DecimalIntegerLiteral BigIntLiteralSuffix
     12 
     13  https://github.com/tc39/proposal-bigint/issues/208
     14 
     15  NumericLiteral ::
     16    DecimalBigIntegerLiteral
     17 
     18  DecimalBigIntegerLiteral ::
     19    0 BigIntLiteralSuffix
     20    NonZeroDigit DecimalDigits_opt BigIntLiteralSuffix
     21 features: [BigInt]
     22 negative:
     23  phase: parse
     24  type: SyntaxError
     25 ---*/
     26 
     27 $DONOTEVALUATE();
     28 
     29 09n;