Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Array/isArray/15.4.3.2-0-7.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 esid: sec-array.isarray
6 es5id: 15.4.3.2-0-7
7 description: Array.isArray returns false if its argument is not an Array
8 ---*/
9
10 var o = new Object();
11 o[12] = 13;
12 var b = Array.isArray(o);
13
14 assert.sameValue(b, false, 'b');