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

LibJS: Convert DateConstructor functions to ThrowCompletionOr

This commit is contained in:
Idan Horowitz 2021-10-23 03:28:01 +03:00 committed by Andreas Kling
parent 306c25f3c2
commit ba39a54bb8
2 changed files with 17 additions and 17 deletions

View file

@ -24,9 +24,9 @@ public:
private:
virtual bool has_constructor() const override { return true; }
JS_DECLARE_OLD_NATIVE_FUNCTION(now);
JS_DECLARE_OLD_NATIVE_FUNCTION(parse);
JS_DECLARE_OLD_NATIVE_FUNCTION(utc);
JS_DECLARE_NATIVE_FUNCTION(now);
JS_DECLARE_NATIVE_FUNCTION(parse);
JS_DECLARE_NATIVE_FUNCTION(utc);
};
}