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

LibJS: Convert Intl.DisplayNames functions to ThrowCompletionOr

This commit is contained in:
Linus Groh 2021-10-22 22:48:25 +01:00
parent 68df9e4dfb
commit 15eadcf023
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);
};
}