
array.toLocaleString() – Returns a locale-sensitive string representing the elements of the array.
๐ Syntax
str = array.toLocaleString(locales, options);
๐งช Example
[123456.789].toLocaleString('de-DE'); // '123.456,789'
array.toLocaleString() – Returns a locale-sensitive string representing the elements of the array.
str = array.toLocaleString(locales, options);
[123456.789].toLocaleString('de-DE'); // '123.456,789'
Comments
Post a Comment