mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:48:11 +00:00
parent
b7b02693b9
commit
1a27c525d5
69 changed files with 185 additions and 198 deletions
|
@ -166,7 +166,7 @@ ThrowCompletionOr<Value> canonical_code_for_display_names(VM& vm, DisplayNames::
|
|||
return vm.throw_completion<RangeError>(ErrorType::OptionIsNotValidValue, code, "dateTimeField"sv);
|
||||
|
||||
// b. Return code.
|
||||
return MUST_OR_THROW_OOM(PrimitiveString::create(vm, code));
|
||||
return PrimitiveString::create(vm, code);
|
||||
}
|
||||
|
||||
// 6. Assert: type is "currency".
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue