LibJS: Add Date.setUTC{Date, Month, Hours, ...}() aliases

These are a bit hacky, since they are supposed to be separate methods,
but since serenity only supports UTC currently, they are equivalent.
This commit is contained in:
Idan Horowitz 2021-06-06 17:34:04 +03:00 committed by Linus Groh
commit 60e70e5ee4
Notes: sideshowbarker 2024-07-18 12:44:30 +09:00
2 changed files with 14 additions and 0 deletions

View file

@ -224,6 +224,13 @@ namespace JS {
P(setPrototypeOf) \
P(setSeconds) \
P(setTime) \
P(setUTCDate) \
P(setUTCFullYear) \
P(setUTCHours) \
P(setUTCMilliseconds) \
P(setUTCMinutes) \
P(setUTCMonth) \
P(setUTCSeconds) \
P(setYear) \
P(shift) \
P(sign) \