What are the difference unescape() and escape() functions?
S.no | unescape() | escape() |
---|---|---|
1. | The unescape() function uses a string as a parameter, and used to decode that string encoded by the escape() function. | The escape() function in JavaScript is used to encode a string. It makes a string portable so that it can be transmitted across any network to any computer with ASCII character support. |
BY Best Interview Question ON 25 Aug 2022