test262/test/built-ins/Boolean/S15.6.3_A1.js

14 lines
424 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"');
}