test262/test/built-ins/Array/isArray/15.4.3.2-0-5.js

15 lines
361 B
JavaScript

// 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-5
description: >
Array.isArray return true if its argument is an Array
(Array.prototype)
---*/
var b = Array.isArray(Array.prototype);
assert.sameValue(b, true, 'b');