Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Object/S15.2.3_A2.js

raw
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 info: |
6 The value of the internal [[Prototype]] property of the Object constructor
7 is the Function prototype object
8 es5id: 15.2.3_A2
9 description: Checking Function.prototype.isPrototypeOf(Object)
10 ---*/
11
12 // CHECK#
13 if (!(Function.prototype.isPrototypeOf(Object))) {
14 $ERROR('#1: the value of the internal [[Prototype]] property of the Object constructor is the Function prototype object.');
15 }