blob: 24627dc3eece2680aee29bf0dce9c8d2fb16191f [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 "length" property of the "getDate" is 0
esid: sec-date.prototype.getdate
description: The "length" property of the "getDate" is 0
---*/
if (Date.prototype.getDate.hasOwnProperty("length") !== true) {
$ERROR('#1: The getDate has a "length" property');
}
if (Date.prototype.getDate.length !== 0) {
$ERROR('#2: The "length" property of the getDate is 0');
}