tor-browser

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

new-await.js (394B)


      1 // |reftest| error:SyntaxError module
      2 // Copyright (C) 2020 Rick Waldron. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 
      5 /*---
      6 esid: prod-AwaitExpression
      7 description: >
      8  await cannot immediately follow new in module code
      9 negative:
     10  phase: parse
     11  type: SyntaxError
     12 flags: [module]
     13 features: [top-level-await]
     14 ---*/
     15 
     16 $DONOTEVALUATE();
     17 
     18 new await;