2.1.116 [ECMA-262-1999] Section 15.9.5.34, Date.prototype.setUTCMinutes (min [, sec [, ms ] ] )

V0176:

If sec is not specified, this function behaves as if sec were specified with the value getUTCSeconds( ).

If ms is not specified, this function behaves as if ms were specified with the value getUTCMilliseconds( ).

(The bulleted step is added before step 1)

  • __If the argument min is not present, throw a TypeError exception.__

  1. Let t be this time value.

  2. Call ToNumber(min).

  3. If sec is not specified, compute SecFromTime(t); otherwise, call ToNumber(sec).

  4. If ms is not specified, compute msFromTime(t); otherwise, call ToNumber(ms).

  5. Compute MakeTime(HourFromTime(t), Result(2), Result(3), Result(4)).

  6. Compute MakeDate(Day(t), Result(5)).

  7. Set the [[Value]] property of the this value to TimeClip(Result(6)).

  8. Return the value of the [[Value]] property of the this value.

The length property of the setUTCMinutes method is 3.