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:
parent
47fb4286c7
commit
3a39ff8f40
3 changed files with 48 additions and 0 deletions
|
@ -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&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue