summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Intl/PluralRulesConstructor.h
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-01-28 13:31:04 -0500
committerLinus Groh <mail@linusgroh.de>2022-01-28 19:38:47 +0000
commit8b3f49ff8476158cccb8b37cc93b0859fb956cd6 (patch)
tree158ad7e3cad4fc0b2a3da20b3ea9c34e7f091cf4 /Userland/Libraries/LibJS/Runtime/Intl/PluralRulesConstructor.h
parent624fad38215ba10cb3cea9b579bc99e1cbfd7b7a (diff)
downloadserenity-8b3f49ff8476158cccb8b37cc93b0859fb956cd6.zip
LibJS: Implement Intl.PluralRules.supportedLocalesOf
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Intl/PluralRulesConstructor.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Intl/PluralRulesConstructor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Intl/PluralRulesConstructor.h b/Userland/Libraries/LibJS/Runtime/Intl/PluralRulesConstructor.h
index 4aef86b23b..10952d72e6 100644
--- a/Userland/Libraries/LibJS/Runtime/Intl/PluralRulesConstructor.h
+++ b/Userland/Libraries/LibJS/Runtime/Intl/PluralRulesConstructor.h
@@ -23,6 +23,8 @@ public:
private:
virtual bool has_constructor() const override { return true; }
+
+ JS_DECLARE_NATIVE_FUNCTION(supported_locales_of);
};
}