blob: d3d093ec09c0f75afe85e1e34d0154bc90bf0748 [file] [log] [blame]
Ben Murdochb8a8cc12014-11-26 15:28:44 +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
5var a = [];
6a[10000] = 1;
7a.length = 0;
8a[1] = 1;
9a.length = 0;
10assertEquals(undefined, a[1]);
11
12var o = {};
13Object.freeze(o);
14assertEquals(undefined, o[1]);