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

LibJS: Move number_format_relevant_extension_keys to Intl.NumberFormat

This method represents the Intl.NumberFormat's [[RelevantExtensionKeys]]
internal slot, so it makes more sense for this to be directly in the
class itself.
This commit is contained in:
Timothy Flynn 2021-09-11 11:11:02 -04:00 committed by Linus Groh
parent 94a5a0437c
commit 7769cd2cab
2 changed files with 11 additions and 9 deletions

View file

@ -70,6 +70,8 @@ public:
ExceptZero,
};
static Vector<StringView> const& relevant_extension_keys(); // [[RelevantExtensionKeys]]
NumberFormat(Object& prototype);
virtual ~NumberFormat() override = default;