tor-browser

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

id-arguments-strict-strict.js (479B)


      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 es5id: 11.13.1-4-28-s
      7 description: >
      8  Strict Mode - SyntaxError is thrown if the identifier 'arguments' appears
      9  as the LeftHandSideExpression of simple assignment(=) under strict mode
     10 negative:
     11  phase: parse
     12  type: SyntaxError
     13 flags: [onlyStrict]
     14 ---*/
     15 
     16 $DONOTEVALUATE();
     17 
     18 var arguments;