summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimeConstructor.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-08-27 16:42:21 +0300
committerLinus Groh <mail@linusgroh.de>2021-08-27 16:40:16 +0100
commit9ed877e8e70b5a9852f75163d860f7c2db6cc520 (patch)
tree77a6beee4943066c2ca6cdc008a9057c34d8be43 /Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimeConstructor.h
parent28fa4d15689a158a6b2915f43546ba56c5cac714 (diff)
downloadserenity-9ed877e8e70b5a9852f75163d860f7c2db6cc520.zip
LibJS: Implement Temporal.PlainDateTime.compare()
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimeConstructor.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimeConstructor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimeConstructor.h b/Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimeConstructor.h
index bd87641517..90577a8da6 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimeConstructor.h
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/PlainDateTimeConstructor.h
@@ -25,6 +25,7 @@ private:
virtual bool has_constructor() const override { return true; }
JS_DECLARE_NATIVE_FUNCTION(from);
+ JS_DECLARE_NATIVE_FUNCTION(compare);
};
}