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

19 lines
425 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-7
description: Array.isArray returns false if its argument is not an Array
includes: [runTestCase.js]
---*/
function testcase() {
var o = new Object();
o[12] = 13;
var b = Array.isArray(o);
if (b === false) {
return true;
}
}
runTestCase(testcase);