summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Boolean/S15.6.3_A1.js
blob: e619749ad4ee7b7c596b0e81662cbf0ca02b5cb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: The Boolean constructor has the property "prototype"
esid: sec-boolean.prototype
description: Checking existence of the property "prototype"
---*/

if (!Boolean.hasOwnProperty("prototype")) {
  $ERROR('#1: The Boolean constructor has the property "prototype"');
}

reportCompare(0, 0);