LibJS: Implement Temporal.Duration.prototype.years

This commit is contained in:
Linus Groh 2021-07-15 23:34:53 +01:00
commit 300a22f9b9
Notes: sideshowbarker 2024-07-18 08:58:09 +09:00
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 };