mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
LibJS: Remove outdated comment in prepare_partial_temporal_fields()
This is a normative change in the Temporal spec.
See: bf066ea
This commit is contained in:
parent
69b8079b11
commit
006bea5d31
1 changed files with 0 additions and 1 deletions
|
@ -1796,7 +1796,6 @@ ThrowCompletionOr<Object*> prepare_partial_temporal_fields(GlobalObject& global_
|
|||
else if (property.is_one_of("monthCode"sv, "offset"sv, "era"sv))
|
||||
value = TRY(value.to_primitive_string(global_object));
|
||||
|
||||
// NOTE: According to the spec this is step 4c, but I believe that's incorrect. See https://github.com/tc39/proposal-temporal/issues/1910.
|
||||
// iii. Perform ! CreateDataPropertyOrThrow(result, property, value).
|
||||
MUST(result->create_data_property_or_throw(property, value));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue