⬅️ JavaScript
- The encodeURIComponent() function encodes a URI by replacing each instance of certain characters (e.g. ?)
- Compared to
encodeURI()
,encodeURIComponent()
escapes a larger set of characters.
Search
⬅️ JavaScript
encodeURI()
, encodeURIComponent()
escapes a larger set of characters.