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

LibJS: Add the global escape() & unescape() methods

This commit is contained in:
Idan Horowitz 2021-06-05 19:21:15 +03:00 committed by Linus Groh
parent e2fb7943f7
commit 442ef63008
4 changed files with 69 additions and 0 deletions

View file

@ -68,6 +68,8 @@ private:
JS_DECLARE_NATIVE_FUNCTION(decode_uri);
JS_DECLARE_NATIVE_FUNCTION(encode_uri_component);
JS_DECLARE_NATIVE_FUNCTION(decode_uri_component);
JS_DECLARE_NATIVE_FUNCTION(escape);
JS_DECLARE_NATIVE_FUNCTION(unescape);
NonnullOwnPtr<Console> m_console;