Skip to content

Commit

Permalink
Editorial: Remove an explicit definition of String.prototype.localeCo…
Browse files Browse the repository at this point in the history
…mpare.length

Closes #847
  • Loading branch information
arai-a authored Dec 15, 2023
1 parent bb207e7 commit 494be7a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions spec/locale-sensitive-functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ <h1>String.prototype.localeCompare ( _that_ [ , _locales_ [ , _options_ ] ] )</h
1. Return CompareStrings(_collator_, _S_, _thatValue_).
</emu-alg>

<p>
The value of the *"length"* property of the `localeCompare` method is 1.
</p>

<emu-note>
The `localeCompare` method itself is not directly suitable as an argument to `Array.prototype.sort` because the latter requires a function of two arguments.
</emu-note>
Expand Down

0 comments on commit 494be7a

Please sign in to comment.