v8/test/mjsunit/regress/regress-dictionary-to-fast-arguments.js

12 lines
265 B
JavaScript

// 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.
function f(a, b) {
for (var i = 10000; i > 0; i--) {
arguments[i] = 0;
}
}
f(1.5, 2.5);