mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:17:45 +00:00
LibJS: Reflect Array.prototype.toLocaleString comment in %TypedArray%
This is an editorial change in the ECMA-262 spec.
See: 2a9ed48
This commit is contained in:
parent
b9bbf45a81
commit
367e7b4fe5
1 changed files with 1 additions and 1 deletions
|
@ -1478,7 +1478,7 @@ JS_DEFINE_NATIVE_FUNCTION(TypedArrayPrototype::to_locale_string)
|
|||
// has a fixed length and whose integer-indexed properties are not sparse.
|
||||
auto length = typed_array->array_length();
|
||||
|
||||
// 3. Let separator be the String value for the list-separator String appropriate for the host environment's current locale (this is derived in an implementation-defined way).
|
||||
// 3. Let separator be the implementation-defined list-separator String value appropriate for the host environment's current locale (such as ", ").
|
||||
constexpr auto separator = ',';
|
||||
|
||||
// 4. Let R be the empty String.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue