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