tor-browser

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

static-init-statement-list-optional.js (416B)


      1 // Copyright (C) 2021 the V8 project authors. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 /*---
      4 esid: sec-class-definitions
      5 description: The block's statement list is optional
      6 info: |
      7  Syntax
      8 
      9  [...]
     10 
     11  ClassStaticBlockStatementList :
     12     StatementList[~Yield, +Await, ~Return]opt
     13 features: [class-static-block]
     14 ---*/
     15 
     16 class C {
     17  static {}
     18 }
     19 
     20 reportCompare(0, 0);