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