summaryrefslogtreecommitdiff
path: root/deps/v8/test/message/for-in-let-loop-initializers-strict.js
blob: a58f2fd275a99c34e3c74c379b7ec268b83bc7e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
'use strict';

function test() {
  for (let x = void 0 in [1, 2, 3]) {
    return x;
  }
}