LibJS: Implement Intl.DisplayNames.supportedLocalesOf()

This commit is contained in:
Linus Groh 2021-09-04 17:08:57 +01:00
commit 0094259d72
Notes: sideshowbarker 2024-07-18 04:46:16 +09:00
6 changed files with 144 additions and 0 deletions

View file

@ -23,6 +23,8 @@ public:
private:
virtual bool has_constructor() const override { return true; }
JS_DECLARE_NATIVE_FUNCTION(supported_locales_of);
};
}