Skip to content

Commit

Permalink
Editorial: Fix a trivial typo (toLocalString → toLocaleString) (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnoredAmbience authored and bterlson committed Jul 13, 2016
1 parent 9746dbf commit 40edb3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -22907,7 +22907,7 @@ <h1>Object.prototype.toLocaleString ( [ _reserved1_ [ , _reserved2_ ] ] )</h1>
1. Let _O_ be the *this* value.
1. Return ? Invoke(_O_, `"toString"`).
</emu-alg>
<p>The optional parameters to this function are not used but are intended to correspond to the parameter pattern used by ECMA-402 `toLocalString` functions. Implementations that do not include ECMA-402 support must not use those parameter positions for other purposes.</p>
<p>The optional parameters to this function are not used but are intended to correspond to the parameter pattern used by ECMA-402 `toLocaleString` functions. Implementations that do not include ECMA-402 support must not use those parameter positions for other purposes.</p>
<emu-note>
<p>This function provides a generic `toLocaleString` implementation for objects that have no locale-specific `toString` behaviour. `Array`, `Number`, `Date`, and `Typed Arrays` provide their own locale-sensitive `toLocaleString` methods.</p>
</emu-note>
Expand Down

0 comments on commit 40edb3a

Please sign in to comment.