mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
LibJS: Renumber Intl.NumberFormat v3 prototypes and AOs
These are editorial changes in the Intl.NumberFormat v3 spec. See: https://github.com/tc39/proposal-intl-numberformat-v3/commit/82e2f92 https://github.com/tc39/proposal-intl-numberformat-v3/commit/ce6c33e https://github.com/tc39/proposal-intl-numberformat-v3/commit/b982783 https://github.com/tc39/proposal-intl-numberformat-v3/commit/96010f4 https://github.com/tc39/proposal-intl-numberformat-v3/commit/9dd123f https://github.com/tc39/proposal-intl-numberformat-v3/commit/0c2834f https://github.com/tc39/proposal-intl-numberformat-v3/commit/31c72f3
This commit is contained in:
committed by
Linus Groh
parent
d1881da2be
commit
d30e96a209
Notes:
sideshowbarker
2024-07-17 01:43:03 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/d30e96a209 Pull-request: https://github.com/SerenityOS/serenity/pull/16972 Reviewed-by: https://github.com/linusg ✅
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2021-2022, Tim Flynn <trflynn89@serenityos.org>
|
||||
* Copyright (c) 2021-2023, Tim Flynn <trflynn89@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
@@ -11,7 +11,7 @@
|
||||
namespace JS::Intl {
|
||||
|
||||
// 15.5.2 Number Format Functions, https://tc39.es/ecma402/#sec-number-format-functions
|
||||
// 1.1.4 Number Format Functions, https://tc39.es/proposal-intl-numberformat-v3/out/numberformat/proposed.html#sec-number-format-functions
|
||||
// 1.5.2 Number Format Functions, https://tc39.es/proposal-intl-numberformat-v3/out/numberformat/proposed.html#sec-number-format-functions
|
||||
NonnullGCPtr<NumberFormatFunction> NumberFormatFunction::create(Realm& realm, NumberFormat& number_format)
|
||||
{
|
||||
return realm.heap().allocate<NumberFormatFunction>(realm, number_format, *realm.intrinsics().function_prototype());
|
||||
|
||||
Reference in New Issue
Block a user