From 40edb3a95a475c1b251141ac681b8793129d9a6d Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Wed, 13 Jul 2016 23:19:07 +0100 Subject: [PATCH] =?UTF-8?q?Editorial:=20Fix=20a=20trivial=20typo=20(toLoca?= =?UTF-8?q?lString=20=E2=86=92=20toLocaleString)=20(#628)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index 512b99efe4..b7e6a8db0d 100644 --- a/spec.html +++ b/spec.html @@ -22907,7 +22907,7 @@

Object.prototype.toLocaleString ( [ _reserved1_ [ , _reserved2_ ] ] )

1. Let _O_ be the *this* value. 1. Return ? Invoke(_O_, `"toString"`). -

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.

+

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.

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.