tor-browser

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

eval-strict-list-final-strict.js (415B)


      1 // |reftest| error:SyntaxError
      2 'use strict';
      3 // Copyright (c) 2012 Ecma International.  All rights reserved.
      4 // This code is governed by the BSD license found in the LICENSE file.
      5 
      6 /*---
      7 es5id: 12.2.1-26-s
      8 esid: sec-variable-statement
      9 description: eval as local var identifier throws SyntaxError in strict mode
     10 flags: [onlyStrict]
     11 negative:
     12  phase: parse
     13  type: SyntaxError
     14 ---*/
     15 
     16 $DONOTEVALUATE();
     17 
     18 var a, eval;