Блог пользователя Aamras

Автор Aamras, история, 3 года назад, По-английски

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

Have a look at this submission

  • Проголосовать: нравится
  • +18
  • Проголосовать: не нравится

»
3 года назад, # |
  Проголосовать: нравится +17 Проголосовать: не нравится

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").