blob: fd9214cd591ae349c0709e1963afeec93f887797 [file] [log] [blame]
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: Boolean.prototype has the attribute DontDelete
esid: sec-boolean.prototype
description: Checking if deleting the Boolean.prototype property fails
includes: [propertyHelper.js]
flags: [onlyStrict]
---*/
// CHECK#1
verifyNotConfigurable(Boolean, "prototype");
assert.throws(TypeError, () => {
delete Boolean.prototype;
});