blob: 128a72d6c2efda52cf03a2fa750f02ab080d8121 [file] [log] [blame]
// 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 "getUTCDay" has { DontEnum } attributes
esid: sec-date.prototype.getutcdaty
description: Checking absence of DontDelete attribute
---*/
if (delete Date.prototype.getUTCDay === false) {
$ERROR('#1: The Date.prototype.getUTCDay property has not the attributes DontDelete');
}
if (Date.prototype.hasOwnProperty('getUTCDay')) {
$ERROR('#2: The Date.prototype.getUTCDay property has not the attributes DontDelete');
}