LibJS: Fix typo in Intl.NumberFormat GetNumberOption parameter name
This is an editorial change in the ECMA-402 spec. See: https://github.com/tc39/ecma402/commit/759e671
This commit is contained in:
parent
5bb084aa3a
commit
d8f8bbada8
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ ThrowCompletionOr<GC::Ref<Object>> NumberFormatConstructor::construct(FunctionOb
|
|||
// 16.1.2 SetNumberFormatDigitOptions ( intlObj, options, mnfdDefault, mxfdDefault, notation ), https://tc39.es/ecma402/#sec-setnfdigitoptions
|
||||
ThrowCompletionOr<void> set_number_format_digit_options(VM& vm, NumberFormatBase& intl_object, Object const& options, int default_min_fraction_digits, int default_max_fraction_digits, Unicode::Notation notation)
|
||||
{
|
||||
// 1. Let mnid be ? GetNumberOption(options, "minimumIntegerDigits,", 1, 21, 1).
|
||||
// 1. Let mnid be ? GetNumberOption(options, "minimumIntegerDigits", 1, 21, 1).
|
||||
auto min_integer_digits = TRY(get_number_option(vm, options, vm.names.minimumIntegerDigits, 1, 21, 1));
|
||||
|
||||
// 2. Let mnfd be ? Get(options, "minimumFractionDigits").
|
||||
|
|
|
|||
Loading…
Reference in a new issue