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

19 lines
422 B
JavaScript

// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.4.3.2-0-5
description: >
Array.isArray return true if its argument is an Array
(Array.prototype)
includes: [runTestCase.js]
---*/
function testcase() {
var b = Array.isArray(Array.prototype);
if (b === true) {
return true;
}
}
runTestCase(testcase);