// Copyright 2009 the Sputnik authors.  All rights reserved.
/**
 * The Date.prototype property "toTimeString" has { DontEnum } attributes
 *
 * @path ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A1_T1.js
 * @description Checking absence of ReadOnly attribute
 */

x = Date.prototype.toTimeString;
if(x === 1)
  Date.prototype.toTimeString = 2;
else
  Date.prototype.toTimeString = 1;
if (Date.prototype.toTimeString === x) {
  $ERROR('#1: The Date.prototype.toTimeString has not the attribute ReadOnly');
}


