Aamras's blog

By Aamras, history, 3 years ago, In English

Is this some kind of sorcery I can't understand?

Have a look at this submission

  • Vote: I like it
  • +18
  • Vote: I do not like it

»
3 years ago, # |
  Vote: I like it +17 Vote: I do not like it

This is JSFuck. Any Javascript code can be written using only 6 characters ([, ], (, ), + and !). There's even a Wikipedia article about this: https://en.wikipedia.org/wiki/JSFuck . You can decode this by replacing the last () with +[], to get the source code of the anonymous function instead of executing it. The original code is print("Karen").