Skip to content

Commit

Permalink
Editorial: Remove unnecessary assertion
Browse files Browse the repository at this point in the history
The structured header already ensures the parameter is a List type.
  • Loading branch information
anba committed Dec 15, 2023
1 parent c319c5d commit ec38254
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion spec/datetimeformat.html
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,6 @@ <h1>
1. Let _offsetPenalty_ be 1.
1. Let _bestScore_ be -∞.
1. Let _bestFormat_ be *undefined*.
1. Assert: Type(_formats_) is List.
1. For each element _format_ of _formats_, do
1. Let _score_ be 0.
1. For each row of <emu-xref href="#table-datetimeformat-components"></emu-xref>, except the header row, in table order, do
Expand Down

0 comments on commit ec38254

Please sign in to comment.