test262/test/built-ins/Array/S15.4.3_A1.1_T3.js

16 lines
519 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: |
The value of the internal [[Prototype]] property of
the Array constructor is the Function prototype object
es5id: 15.4.3_A1.1_T3
description: Checking use isPrototypeOf
---*/
//CHECK#1
if (Function.prototype.isPrototypeOf(Array) !== true) {
$ERROR('#1: Function.prototype.isPrototypeOf(Array) === true. Actual: ' + (Function.prototype.isPrototypeOf(Array)));
}