LibJS: Implement the Temporal.PlainTime constructor

And the simple Temporal.PlainTime.prototype getters, so that the
constructed Temporal.PlainTime may actually be validated.
This commit is contained in:
Timothy Flynn
2024-11-23 10:21:21 -05:00
committed by Tim Flynn
parent 971f794127
commit 66365fef57
22 changed files with 693 additions and 1 deletions

View File

@@ -628,6 +628,8 @@ ThrowCompletionOr<bool> is_partial_temporal_object(VM& vm, Value value)
return false;
if (is<PlainMonthDay>(object))
return false;
if (is<PlainTime>(object))
return false;
if (is<PlainYearMonth>(object))
return false;