LibJS: Convert Intl.DisplayNames functions to ThrowCompletionOr

This commit is contained in:
Linus Groh 2021-10-22 22:48:25 +01:00
commit 15eadcf023
Notes: sideshowbarker 2024-07-18 02:02:47 +09:00
4 changed files with 15 additions and 15 deletions

View file

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