summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Function/prototype/constructor/S15.3.4.1_A1_T1.js
blob: 95b8bc023cbe2f565d4c0fbd44fc89875a7bb6e3 (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 initial value of Function.prototype.constructor is the built-in
    Function constructor
es5id: 15.3.4.1_A1_T1
description: Checking Function.prototype.constructor
---*/
assert.sameValue(
  Function.prototype.constructor,
  Function,
  'The value of Function.prototype.constructor is expected to equal the value of Function'
);

reportCompare(0, 0);