Hacker News new | comments | ask | show | jobs | submit login

Some of you may also enjoy aaencode by Yosuke Hasegawa:

http://utf-8.jp/public/aaencode.html

Encode any JavaScript program to Japanese style emoticons (^_^)

And of course jjencode:

http://utf-8.jp/public/jjencode.html

(hint: have a look at "palindrome")




Apparently, he also did the OP's trick: http://utf-8.jp/public/jsfuck.html (but without, {} even)


Unfortunately, his tricks no longer work in current JS engines; it relies on using

  [].sort.call()
which I believe used to return the global object but now throws an exception.

AFAICT, you need to add {} to make this work in current JS engines.

Dave




Applications are open for YC Summer 2019

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: