diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Intl/DisplayNamesConstructor.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Intl/DisplayNamesConstructor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Intl/DisplayNamesConstructor.cpp b/Userland/Libraries/LibJS/Runtime/Intl/DisplayNamesConstructor.cpp index f5a65757e4..8173906c3a 100644 --- a/Userland/Libraries/LibJS/Runtime/Intl/DisplayNamesConstructor.cpp +++ b/Userland/Libraries/LibJS/Runtime/Intl/DisplayNamesConstructor.cpp @@ -117,7 +117,7 @@ Value DisplayNamesConstructor::construct(FunctionObject& new_target) } // 12.3.2 Intl.DisplayNames.supportedLocalesOf ( locales [ , options ] ), https://tc39.es/ecma402/#sec-Intl.DisplayNames.supportedLocalesOf -JS_DEFINE_NATIVE_FUNCTION(DisplayNamesConstructor::supported_locales_of) +JS_DEFINE_OLD_NATIVE_FUNCTION(DisplayNamesConstructor::supported_locales_of) { auto locales = vm.argument(0); auto options = vm.argument(1); |