1// 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]);
15