mirror of https://github.com/tc39/test262.git
14 lines
426 B
JavaScript
14 lines
426 B
JavaScript
// 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
|
|
es5id: 15.6.3_A1
|
|
description: Checking existence of the property "prototype"
|
|
---*/
|
|
|
|
if (!Boolean.hasOwnProperty("prototype")) {
|
|
$ERROR('#1: The Boolean constructor has the property "prototype"');
|
|
}
|