Skip to content

Commit 23c74b6

Browse files
ptomatoMs2ger
authored andcommitted
Editorial: Simplify anyPresent condition
1 parent c49c3d6 commit 23c74b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/intl.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,8 +864,8 @@ <h1>
864864
1. If _value_ is not *undefined*, then
865865
1. Set _formatOptions_.[[&lt;_prop_>]] to _value_.
866866
1. Set _needDefaults_ to *false*.
867-
1. If _anyPresent_ is *true* and _needDefaults_ is *true*, return *null*.
868867
1. If _needDefaults_ is *true*, then
868+
1. If _anyPresent_ is *true*, return *null*.
869869
1. For each property name _prop_ of _defaultOptions_, do
870870
1. Set _formatOptions_.[[&lt;_prop_>]] to *"numeric"*.
871871
1. If _defaults_ is ~zoned-date-time~, then

0 commit comments

Comments
 (0)