Loading…

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.

Suggest An Answer

No suggestions avaliable!

Latest post from JavaScript interview questions

Ask Question