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

LibJS: Implement Temporal.Instant.fromEpochMilliseconds()

This commit is contained in:
Linus Groh 2021-07-09 12:00:31 +01:00
parent 2401e45720
commit 66ff772254
4 changed files with 81 additions and 0 deletions

View file

@ -25,6 +25,7 @@ private:
virtual bool has_constructor() const override { return true; }
JS_DECLARE_NATIVE_FUNCTION(from_epoch_seconds);
JS_DECLARE_NATIVE_FUNCTION(from_epoch_milliseconds);
};
}