LibJS: Replace invalid reference to an [[Offset]] internal slot

This is an editorial change in the Temporal proposal. See:
f1569ef

Here, we also update the struct member name to match the correct slot
name.
This commit is contained in:
Timothy Flynn 2024-12-05 09:39:00 -05:00 committed by Tim Flynn
commit fe4995b69a
Notes: github-actions[bot] 2024-12-05 21:07:38 +00:00
5 changed files with 8 additions and 8 deletions

View file

@ -191,7 +191,7 @@ ThrowCompletionOr<GC::Ref<ZonedDateTime>> to_temporal_zoned_date_time(VM& vm, Va
time_zone = fields.time_zone.release_value();
// e. Let offsetString be fields.[[OffsetString]].
offset_string = move(fields.offset);
offset_string = move(fields.offset_string);
// f. If offsetString is UNSET, then
if (!offset_string.has_value()) {