// Copyright 2009 the Sputnik authors.  All rights reserved.
/**
 * The length property of join has the attribute ReadOnly
 *
 * @path ch15/15.4/15.4.4/15.4.4.5/S15.4.4.5_A6.3.js
 * @description Checking if varying the length property fails
 * @noStrict
 */

//CHECK#1
var x = Array.prototype.join.length;
Array.prototype.join.length = Infinity;
if (Array.prototype.join.length !== x) {
  $ERROR('#1: x = Array.prototype.join.length; Array.prototype.join.length = Infinity; Array.prototype.join.length === x. Actual: ' + (Array.prototype.join.length));
}


