mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibJS: Implement the RegExp.escape proposal
https://tc39.es/proposal-regex-escaping/
This commit is contained in:
parent
bd1009f3c1
commit
db87f173fb
Notes:
github-actions[bot]
2024-12-05 12:57:14 +00:00
Author: https://github.com/trflynn89
Commit: db87f173fb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2773
Reviewed-by: https://github.com/gmta
3 changed files with 177 additions and 0 deletions
|
@ -29,6 +29,7 @@ private:
|
|||
|
||||
virtual bool has_constructor() const override { return true; }
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(escape);
|
||||
JS_DECLARE_NATIVE_FUNCTION(symbol_species_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(input_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(input_alias_getter);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue