test262/test/language/statements/const/syntax/const-invalid-assignment-ne...

11 lines
281 B
JavaScript
Raw Normal View History

2015-03-30 18:48:02 +02:00
// 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++) {}