tor-browser

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

early-export-global.js (618B)


      1 // |reftest| error:SyntaxError module
      2 // Copyright (C) 2015 the V8 project authors. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 /*---
      5 esid: sec-module-semantics-static-semantics-early-errors
      6 es6id: 15.2.1.1
      7 description: Exporting a global binding
      8 info: |
      9    It is a Syntax Error if any element of the ExportedBindings of
     10    ModuleItemList does not also occur in either the VarDeclaredNames of
     11    ModuleItemList, or the LexicallyDeclaredNames of ModuleItemList.
     12 flags: [module]
     13 negative:
     14  phase: parse
     15  type: SyntaxError
     16 ---*/
     17 
     18 $DONOTEVALUATE();
     19 
     20 export { Number };