diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDayConstructor.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDayConstructor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDayConstructor.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDayConstructor.cpp index 373eac7ee6..349ea2fd12 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDayConstructor.cpp +++ b/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDayConstructor.cpp @@ -86,7 +86,7 @@ Value PlainMonthDayConstructor::construct(FunctionObject& new_target) } // 10.2.2 Temporal.PlainMonthDay.from ( item [ , options ] ), https://tc39.es/proposal-temporal/#sec-temporal.plainmonthday.from -JS_DEFINE_NATIVE_FUNCTION(PlainMonthDayConstructor::from) +JS_DEFINE_OLD_NATIVE_FUNCTION(PlainMonthDayConstructor::from) { auto item = vm.argument(0); |