blob: 4db280aac9c18b7d07c9267a1bbd820807ed1b61 [file] [log] [blame]
// Copyright 2015 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.
var a = new Int32Array(10);
function f(a) { a["-1"] = 15; }
for (var i = 0; i < 3; i++) {
f(a);
}
assertEquals(undefined, a[-1]);