1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

LibJS: Implement Temporal.Duration.from()

...with ParseTemporalDurationString currently TODO()'d.
This commit is contained in:
Linus Groh 2021-07-18 21:44:05 +01:00
parent 7355c23e17
commit 5c77885873
9 changed files with 236 additions and 0 deletions

View file

@ -23,6 +23,8 @@ public:
private:
virtual bool has_constructor() const override { return true; }
JS_DECLARE_NATIVE_FUNCTION(from);
};
}