tor-browser

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

value-await-non-module.js (442B)


      1 // Copyright (C) 2017 André Bargull. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: sec-identifiers-static-semantics-early-errors
      6 description: >
      7  `await` is not a reserved identifier in non-module code and may be used as a label.
      8 info: |
      9  LabelIdentifier : await
     10 
     11  It is a Syntax Error if the goal symbol of the syntactic grammar is Module.
     12 ---*/
     13 
     14 await: 1;
     15 
     16 reportCompare(0, 0);