mirror of
https://github.com/tc39/test262.git
synced 2025-10-11 02:48:46 +02:00
These tests are derived from the following files within the Google V8 project: test/mjsunit/es6/regress/regress-2506.js test/mjsunit/es6/regress/regress-3426.js test/mjsunit/es6/regress/regress-3683.js
11 lines
281 B
JavaScript
11 lines
281 B
JavaScript
// Copyright (C) 2015 Rick Waldron. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
/*---
|
|
es6id: 13.6.3.7_S5.a.i
|
|
description: >
|
|
const: invalid assignment in next expression
|
|
negative: TypeError
|
|
---*/
|
|
|
|
for (const i = 0; i < 1; i++) {}
|