summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Array/isArray/15.4.3.2-0-3.js
blob: cb98535abe2a996a1274585dcac386a118e9fc17 (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-3
description: Array.isArray return true if its argument is an Array
---*/

var a = [];
var b = Array.isArray(a);

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

reportCompare(0, 0);