blob: 2961d0cecd8a549bb8446a3ff361ab3216bc6a92 [file] [log] [blame]
Ben Murdoch4a90d5f2016-03-22 12:00:34 +00001# Copyright 2014 the V8 project authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4*%(basename)s:7: SyntaxError: for-of loop variable declaration may not have an initializer.
5 for (var x = void 0 of [1, 2, 3]) {
6 ^^^^^^^^^^
7SyntaxError: for-of loop variable declaration may not have an initializer.