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