tor-browser

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

new-await-script-code.js (342B)


      1 // Copyright (C) 2020 Rick Waldron. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: prod-AwaitExpression
      6 description: >
      7  await is not a keyword in script code
      8 features: [top-level-await]
      9 ---*/
     10 
     11 class await {}
     12 
     13 assert.sameValue(new await instanceof await, true);
     14 
     15 reportCompare(0, 0);