1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-29 03:42:07 +00:00

LibJS: Reorganize spec steps for Intl.NumberFormat

This is an editorial change in the Intl spec:
110cb1f
This commit is contained in:
Timothy Flynn 2022-03-15 10:58:47 -04:00 committed by Andreas Kling
parent d6868d1e9d
commit 812d3a7ef8
7 changed files with 347 additions and 344 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2021, Tim Flynn <trflynn89@serenityos.org>
* Copyright (c) 2021-2022, Tim Flynn <trflynn89@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
@ -10,7 +10,7 @@
namespace JS::Intl {
// 15.1.4 Number Format Functions, https://tc39.es/ecma402/#sec-number-format-functions
// 15.5.2 Number Format Functions, https://tc39.es/ecma402/#sec-number-format-functions
NumberFormatFunction* NumberFormatFunction::create(GlobalObject& global_object, NumberFormat& number_format)
{
return global_object.heap().allocate<NumberFormatFunction>(global_object, number_format, *global_object.function_prototype());