mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +00:00
LibJS: Add Temporal.Instant.from()
This commit is contained in:
parent
33cf6274e8
commit
84403ab423
3 changed files with 34 additions and 0 deletions
|
@ -24,6 +24,7 @@ public:
|
|||
private:
|
||||
virtual bool has_constructor() const override { return true; }
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(from);
|
||||
JS_DECLARE_NATIVE_FUNCTION(from_epoch_seconds);
|
||||
JS_DECLARE_NATIVE_FUNCTION(from_epoch_milliseconds);
|
||||
JS_DECLARE_NATIVE_FUNCTION(from_epoch_microseconds);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue