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

LibJS: Implement the Intl.PluralRules constructor

This commit is contained in:
Timothy Flynn 2022-01-28 13:11:34 -05:00 committed by Linus Groh
parent 0087804d10
commit 348059bffd
4 changed files with 221 additions and 1 deletions

View file

@ -8,6 +8,7 @@
#include <AK/String.h>
#include <AK/StringView.h>
#include <LibJS/Runtime/Completion.h>
#include <LibJS/Runtime/Intl/NumberFormat.h>
#include <LibJS/Runtime/Object.h>
@ -33,4 +34,6 @@ private:
Type m_type { Type::Cardinal }; // [[Type]]
};
ThrowCompletionOr<PluralRules*> initialize_plural_rules(GlobalObject& global_object, PluralRules& plural_rules, Value locales_value, Value options_value);
}