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:
parent
f27d768745
commit
28e1e03234
2 changed files with 23 additions and 27 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue