LibJS: Implement Temporal.Duration.compare

This commit is contained in:
Luke Wilde 2021-11-09 18:25:52 +00:00 committed by Linus Groh
commit 5e3fe52fc4
Notes: sideshowbarker 2024-07-18 01:15:58 +09:00
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);
};
}