Created
March 4, 2020 14:21
-
-
Save luislobo14rap/867d8289310a1d31bc8fe0042d0041a6 to your computer and use it in GitHub Desktop.
native-escapes.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // native-escapes.js v1 | |
| let escape_ = escape('Á'); | |
| console.log(escape_); | |
| console.log( unescape(escape_) ); | |
| let encodeURI_ = encodeURI('Á'); | |
| console.log(encodeURI_); | |
| console.log( decodeURI(encodeURI_) ); | |
| let encodeURIComponent_ = encodeURIComponent('Á'); | |
| console.log(encodeURIComponent_); | |
| console.log( decodeURIComponent(encodeURIComponent_) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment