tor-browser

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

legacy-octal-like-invalid-07n.js (634B)


      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 LegacyOctalIntegerLiteral
      9 info: |
     10  NumericLiteral ::
     11    DecimalIntegerLiteral BigIntLiteralSuffix
     12    NumericLiteralBase BigIntLiteralSuffix
     13    LegacyOctalIntegerLiteral
     14 
     15  NumericLiteralBase ::
     16    BinaryIntegerLiteral
     17    OctalIntegerLiteral
     18    HexIntegerLiteral
     19 
     20  BigIntLiteralSuffix :: n
     21 features: [BigInt]
     22 negative:
     23  phase: parse
     24  type: SyntaxError
     25 ---*/
     26 
     27 $DONOTEVALUATE();
     28 
     29 07n;