tor-browser

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

func-expr-parse.js (496B)


      1 // |reftest| error:SyntaxError
      2 // Copyright (c) 2018 Mike Pennisi.  All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 
      5 /*---
      6 esid: use-strict-directive
      7 es5id: 10.1.1-22-s
      8 description: >
      9    Strict Mode - Function code of a FunctionExpression contains Use
     10    Strict Directive which appears at the start of the block
     11 negative:
     12  phase: parse
     13  type: SyntaxError
     14 flags: [noStrict]
     15 ---*/
     16 
     17 $DONOTEVALUATE();
     18 
     19 (function() {
     20  "use strict";
     21 
     22  var static;
     23 });