1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:57:35 +00:00

LibJS: Implement Temporal.now.instant()

This commit is contained in:
Linus Groh 2021-07-07 17:42:21 +01:00
parent 47fb4286c7
commit 3a39ff8f40
3 changed files with 48 additions and 0 deletions

View file

@ -20,8 +20,11 @@ public:
private:
JS_DECLARE_NATIVE_FUNCTION(time_zone);
JS_DECLARE_NATIVE_FUNCTION(instant);
};
Object* system_time_zone(GlobalObject&);
BigInt* system_utc_epoch_nanoseconds(GlobalObject&);
Object* system_instant(GlobalObject&);
}