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:
parent
306c25f3c2
commit
ba39a54bb8
2 changed files with 17 additions and 17 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue