diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Intl/NumberFormatConstructor.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Intl/NumberFormatConstructor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Intl/NumberFormatConstructor.cpp b/Userland/Libraries/LibJS/Runtime/Intl/NumberFormatConstructor.cpp index 46a254b2d1..9c4df7ca91 100644 --- a/Userland/Libraries/LibJS/Runtime/Intl/NumberFormatConstructor.cpp +++ b/Userland/Libraries/LibJS/Runtime/Intl/NumberFormatConstructor.cpp @@ -29,7 +29,7 @@ void NumberFormatConstructor::initialize(Realm& realm) define_direct_property(vm.names.prototype, realm.global_object().intl_number_format_prototype(), 0); u8 attr = Attribute::Writable | Attribute::Configurable; - define_native_function(vm.names.supportedLocalesOf, supported_locales_of, 1, attr); + define_native_function(realm, vm.names.supportedLocalesOf, supported_locales_of, 1, attr); define_direct_property(vm.names.length, Value(0), Attribute::Configurable); } |