summaryrefslogtreecommitdiff
path: root/external/contributions/Google/sputnik_conformance_modified/15_Native/15.2_Object_Objects/15.2.3_Properties_of_the_Object_Constructor/S15.2.3_A2.js
blob: 2e33cd9954355cda1e321d760cafa583fed1ca5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
* @name: S15.2.3_A2;
* @section: 15.2.3, 15.2.4;
* @assertion: The value of the internal [[Prototype]] property of the Object constructor 
* is the Function prototype object;
* @description: Checking Function.prototype.isPrototypeOf(Object);
*/

// CHECK#
if (!(Function.prototype.isPrototypeOf(Object))) {
  $ERROR('#1: the value of the internal [[Prototype]] property of the Object constructor is the Function prototype object.');
}