Skip to content

Commit 9110854

Browse files
committed
Editorial: Remove unnecessary month code check
This check can never fail according to the MonthCode grammar. h/t Anba Closes: #3181
1 parent 25c6205 commit 9110854

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spec/calendar.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ <h1>
8989
1. Set _isLeapMonth_ to *true*.
9090
1. Let _monthCodeDigits_ be the substring of _monthCode_ from 1 to 3.
9191
1. Let _monthNumber_ be ℝ(StringToNumber(_monthCodeDigits_)).
92-
1. If _monthNumber_ is 0 and _isLeapMonth_ is *false*, throw a *RangeError* exception.
9392
1. Return the Record { [[MonthNumber]]: _monthNumber_, [[IsLeapMonth]]: _isLeapMonth_ }.
9493
</emu-alg>
9594
<emu-grammar type="definition">

0 commit comments

Comments
 (0)