summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Boolean/prototype/constructor/S15.6.4.1_A1.js
blob: cf579e869078741e13ecad55a3d3039feb5871a7 (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 Boolean.prototype.constructor is the
    built-in Boolean constructor
esid: sec-boolean-constructor
description: Compare Boolean.prototype.constructor with Boolean
---*/
assert.sameValue(
  Boolean.prototype.constructor,
  Boolean,
  'The value of Boolean.prototype.constructor is expected to equal the value of Boolean'
);

reportCompare(0, 0);