1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:17:35 +00:00

LibJS: Implement Temporal.Duration.prototype.years

This commit is contained in:
Linus Groh 2021-07-15 23:34:53 +01:00
parent 23766f28db
commit 300a22f9b9
4 changed files with 48 additions and 1 deletions

View file

@ -352,7 +352,8 @@ namespace JS {
P(valueOf) \
P(values) \
P(warn) \
P(writable)
P(writable) \
P(years)
struct CommonPropertyNames {
PropertyName and_ { "and", PropertyName::StringMayBeNumber::No };