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

LibJS: Convert StringConstructor functions to ThrowCompletionOr

This commit is contained in:
Idan Horowitz 2021-10-23 02:54:12 +03:00 committed by Andreas Kling
parent f27d768745
commit 28e1e03234
2 changed files with 23 additions and 27 deletions

View file

@ -24,9 +24,9 @@ public:
private:
virtual bool has_constructor() const override { return true; }
JS_DECLARE_OLD_NATIVE_FUNCTION(raw);
JS_DECLARE_OLD_NATIVE_FUNCTION(from_char_code);
JS_DECLARE_OLD_NATIVE_FUNCTION(from_code_point);
JS_DECLARE_NATIVE_FUNCTION(raw);
JS_DECLARE_NATIVE_FUNCTION(from_char_code);
JS_DECLARE_NATIVE_FUNCTION(from_code_point);
};
}