tor-browser

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

const-invalid-assignment-next-expression-for.js (327B)


      1 // Copyright (C) 2015 Rick Waldron. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 /*---
      4 es6id: 13.6.3.7_S5.a.i
      5 description: >
      6    const: invalid assignment in next expression
      7 ---*/
      8 
      9 assert.throws(TypeError, function() {
     10  for (const i = 0; i < 1; i++) {}
     11 });
     12 
     13 reportCompare(0, 0);