diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/DurationConstructor.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Temporal/DurationConstructor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/DurationConstructor.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/DurationConstructor.cpp index 2a69dada37..65327db021 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/DurationConstructor.cpp +++ b/Userland/Libraries/LibJS/Runtime/Temporal/DurationConstructor.cpp @@ -85,7 +85,7 @@ Value DurationConstructor::construct(FunctionObject& new_target) } // 7.2.2 Temporal.Duration.from ( item ), https://tc39.es/proposal-temporal/#sec-temporal.duration.from -JS_DEFINE_NATIVE_FUNCTION(DurationConstructor::from) +JS_DEFINE_OLD_NATIVE_FUNCTION(DurationConstructor::from) { auto item = vm.argument(0); |