text: // Copyright 2009 the Sputnik authors.  All rights reserved.
  // This code is governed by the BSD license found in the LICENSE file.
  
  /*---
  info: The Date.prototype property "valueOf" has { DontEnum } attributes
  esid: sec-date.prototype.valueof
  description: Checking DontEnum attribute
  ---*/
  
  if (Date.prototype.propertyIsEnumerable('valueOf')) {
    throw new Test262Error('#1: The Date.prototype.valueOf property has the attribute DontEnum');
  }
  
  for (var x in Date.prototype) {
    if (x === "valueOf") {
      throw new Test262Error('#2: The Date.prototype.valueOf has the attribute DontEnum');
    }
  }
  