mirror of
https://github.com/tc39/test262.git
synced 2025-08-28 21:38:26 +02:00
20 lines
548 B
JavaScript
20 lines
548 B
JavaScript
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/**
|
|
* The "length" property of the "setUTCDate" is 1
|
|
*
|
|
* @path ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A2_T1.js
|
|
* @description The "length" property of the "setUTCDate" is 1
|
|
*/
|
|
|
|
if(Date.prototype.setUTCDate.hasOwnProperty("length") !== true){
|
|
$ERROR('#1: The setUTCDate has a "length" property');
|
|
}
|
|
|
|
if(Date.prototype.setUTCDate.length !== 1){
|
|
$ERROR('#2: The "length" property of the setUTCDate is 1');
|
|
}
|
|
|
|
|