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 Oct 18, 2023
1 parent 9518037 commit edec071
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 property name _property_ shown in <emu-xref href="#table-datetimeformat-components"></emu-xref>, do
Expand Down

0 comments on commit edec071

Please sign in to comment.