mirror of
https://github.com/tc39/test262.git
synced 2025-09-02 15:58:30 +02:00
20 lines
554 B
JavaScript
20 lines
554 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 "setUTCMonth" is 2
|
|
*
|
|
* @path ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A2_T1.js
|
|
* @description The "length" property of the "setUTCMonth" is 2
|
|
*/
|
|
|
|
if(Date.prototype.setUTCMonth.hasOwnProperty("length") !== true){
|
|
$ERROR('#1: The setUTCMonth has a "length" property');
|
|
}
|
|
|
|
if(Date.prototype.setUTCMonth.length !== 2){
|
|
$ERROR('#2: The "length" property of the setUTCMonth is 2');
|
|
}
|
|
|
|
|