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

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


