From 0f1fa384427622fdc61390ad09be19b9c69daace Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Mon, 7 Apr 2025 12:37:19 -0400 Subject: [PATCH] LibJS: Update spec link for FormatNumericToString AO This is an editorial change in the ECMA-402 spec. See: https://github.com/tc39/ecma402/commit/e3f7260 Note the other changes in this commit do not apply to our implementation as we defer to ICU for the affected steps. --- Libraries/LibJS/Runtime/Intl/NumberFormat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibJS/Runtime/Intl/NumberFormat.cpp b/Libraries/LibJS/Runtime/Intl/NumberFormat.cpp index 27af81036ee..0e73e91fe8b 100644 --- a/Libraries/LibJS/Runtime/Intl/NumberFormat.cpp +++ b/Libraries/LibJS/Runtime/Intl/NumberFormat.cpp @@ -125,7 +125,7 @@ int currency_digits(StringView currency) return 2; } -// 16.5.3 FormatNumericToString ( intlObject, x ), https://tc39.es/ecma402/#sec-formatnumberstring +// 16.5.3 FormatNumericToString ( intlObject, x ), https://tc39.es/ecma402/#sec-formatnumerictostring String format_numeric_to_string(NumberFormatBase const& intl_object, MathematicalValue const& number) { return intl_object.formatter().format_to_decimal(number.to_value());