summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Array/isArray/15.4.3.2-0-6.js
blob: eb2008a3dfc83b7a50f2eed9f52b4bf3b92f7562 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-array.isarray
es5id: 15.4.3.2-0-6
description: Array.isArray return true if its argument is an Array (new Array())
---*/

var a = new Array(10);
var b = Array.isArray(a);

assert.sameValue(b, true, 'b');

reportCompare(0, 0);