From 367e7b4fe5abbda4e4b3dec80a7b3fea12e064a7 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Tue, 3 May 2022 21:35:37 +0200 Subject: [PATCH] LibJS: Reflect Array.prototype.toLocaleString comment in %TypedArray% This is an editorial change in the ECMA-262 spec. See: https://github.com/tc39/ecma262/commit/2a9ed48 --- Userland/Libraries/LibJS/Runtime/TypedArrayPrototype.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibJS/Runtime/TypedArrayPrototype.cpp b/Userland/Libraries/LibJS/Runtime/TypedArrayPrototype.cpp index ba30a5d33b..3ddee6207c 100644 --- a/Userland/Libraries/LibJS/Runtime/TypedArrayPrototype.cpp +++ b/Userland/Libraries/LibJS/Runtime/TypedArrayPrototype.cpp @@ -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.