Debian Codegraph @

js/src/tests/test262/built-ins/Array/15.4.5.1-5-1.js

raw
1 // Copyright (c) 2012 Ecma International. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 es5id: 15.4.5.1-5-1
6 description: >
7 Defining a property named 4294967295 (2**32-1)(not an array
8 element)
9 ---*/
10
11 var a = [];
12 a[4294967295] = "not an array element";
13
14 assert.sameValue(a[4294967295], "not an array element", 'The value of a[4294967295] is expected to be "not an array element"');
15
16 reportCompare(0, 0);