Skip to content

Commit af2f919

Browse files
author
andrew
committedDec 21, 2020
Correct "Non-numerical values in list will be ignored"
1 parent ee99923 commit af2f919

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ <h2 id="collections">Collection Functions (Arrays or Objects)</h2>
821821
function is provided, it will be used on each value to generate the
822822
criterion by which the value is ranked. <i>-Infinity</i> is returned
823823
if <b>list</b> is empty, so an <a href="#isEmpty">isEmpty</a> guard
824-
may be required. Non-numerical values in <b>list</b> will be ignored.
824+
may be required. This function can currently only compare numbers reliably.
825825
This function uses operator <tt>&lt;</tt>
826826
(<a href="#relational-operator-note">note</a>).
827827
</p>
@@ -838,7 +838,7 @@ <h2 id="collections">Collection Functions (Arrays or Objects)</h2>
838838
function is provided, it will be used on each value to generate the
839839
criterion by which the value is ranked. <i>Infinity</i> is returned
840840
if <b>list</b> is empty, so an <a href="#isEmpty">isEmpty</a> guard
841-
may be required. Non-numerical values in <b>list</b> will be ignored.
841+
may be required. This function can currently only compare numbers reliably.
842842
This function uses operator <tt>&lt;</tt>
843843
(<a href="#relational-operator-note">note</a>).
844844
</p>

0 commit comments

Comments
 (0)
Please sign in to comment.