summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Function/prototype/S15.3.4_A3_T1.js
blob: 356d5743f7b1a731119ef7a6b1f85a2eb4b344a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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.4)
es5id: 15.3.4_A3_T1
description: Checking prototype of Function.prototype
---*/
assert.sameValue(
  Object.getPrototypeOf(Function.prototype),
  Object.prototype,
  'Object.getPrototypeOf(Function.prototype) returns Object.prototype'
);

reportCompare(0, 0);