Internationalization API: LocaleList removal

Andreas Rossberg rossberg at
Mon Jun 25 10:09:34 PDT 2012

On 25 June 2012 19:00, Norbert Lindenberg
<ecmascript at> wrote:
> One side effect of removing LocaleList from the API is that the object returned from the supportedLocalesOf methods is now a simple Array, and therefore is modifiable. This probably prevents us from ever switching the return value of these methods back to a LocaleList, whose LocaleList properties (length and indexed elements 0..length-1) are immutable.

Well, I don't see a reason why you couldn't return a frozen array then.


More information about the es-discuss mailing list