1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 14:57:34 +00:00

LibJS: Implement Temporal.Duration.compare

This commit is contained in:
Luke Wilde 2021-11-09 18:25:52 +00:00 committed by Linus Groh
parent 29072f4b09
commit 5e3fe52fc4
3 changed files with 166 additions and 0 deletions

View file

@ -25,6 +25,7 @@ private:
virtual bool has_constructor() const override { return true; }
JS_DECLARE_NATIVE_FUNCTION(from);
JS_DECLARE_NATIVE_FUNCTION(compare);
};
}