Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Array/isArray/15.4.3.2-2-3.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-2-3
7 description: >
8 Array.isArray applied to an Array-like object with length and some
9 indexed properties
10 ---*/
11
12 assert.sameValue(Array.isArray({
13 0: 12,
14 1: 9,
15 length: 2
16 }), false, 'Array.isArray({ 0: 12, 1: 9, length: 2 })');