summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/regress/regress-785804.js
blob: 2dce3be73e57d7fe24929cdd90d5279bb913c9f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2017 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.

let __v_25059 = {
  valueOf: function () {
    let __v_25062 = __v_25055.length;
    __v_25055.length = 1;
    return __v_25062;
  }
};
let __v_25060 = [];
for (let __v_25063 = 0; __v_25063 < 1500; __v_25063++) {
  __v_25060.push("" + 0.1);
}
for (let __v_25064 = 0; __v_25064 < 75; __v_25064++) {
  __v_25055 = __v_25060.slice();
  __v_25056 = __v_25055.slice(0, __v_25059);
}