LibJS: Convert Temporal.TimeZone functions to ThrowCompletionOr

This commit is contained in:
Linus Groh 2021-10-21 20:18:24 +01:00
commit 7085458a23
Notes: sideshowbarker 2024-07-18 02:04:13 +09:00
4 changed files with 33 additions and 33 deletions

View file

@ -24,7 +24,7 @@ public:
private:
virtual bool has_constructor() const override { return true; }
JS_DECLARE_OLD_NATIVE_FUNCTION(from);
JS_DECLARE_NATIVE_FUNCTION(from);
};
}