1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
6 The String.prototype.concat.length property does not have the attribute
10 Checking if deleting the String.prototype.concat.length property
14 //////////////////////////////////////////////////////////////////////////////
16 if (!(String.prototype.concat.hasOwnProperty('length'))) {
17 throw new Test262Error('#0: String.prototype.concat.hasOwnProperty(\'length\') return true. Actual: ' + String.prototype.concat.hasOwnProperty('length'));
20 //////////////////////////////////////////////////////////////////////////////
22 //////////////////////////////////////////////////////////////////////////////
24 if (!delete String.prototype.concat.length) {
25 throw new Test262Error('#1: delete String.prototype.concat.length return true');
28 //////////////////////////////////////////////////////////////////////////////
30 //////////////////////////////////////////////////////////////////////////////
32 if (String.prototype.concat.hasOwnProperty('length')) {
33 throw new Test262Error('#2: delete String.prototype.concat.length; String.prototype.concat.hasOwnProperty(\'length\') return false. Actual: ' + String.prototype.concat.hasOwnProperty('length'));
36 //////////////////////////////////////////////////////////////////////////////