blob: eb6eaa1aa456de6ad51ffc2440e2a88e7316d157 [file] [log] [blame]
// 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 Function
prototype object is the Object prototype object (15.3.2.1)
es5id: 15.3.4_A3_T2
description: >
Add new property to Object.prototype and check it at
Function.prototype
---*/
Object.prototype.indicator = 1;
//CHECK#1
if (Function.prototype.indicator !== 1) {
$ERROR('#1: The value of the internal [[Prototype]] property of the Function prototype object is the Object prototype object (15.3.2.1)');
}