Skip to content

Instantly share code, notes, and snippets.

@arrix
Created April 27, 2011 13:12
Show Gist options
  • Save arrix/944223 to your computer and use it in GitHub Desktop.
Save arrix/944223 to your computer and use it in GitHub Desktop.
Cryptic javascript
//only works in google chrome
($=[$=[]][(__=!$+$)[_=-~-~-~$]+({}+$)[_/_]+($$=($_=!''+$)[_/_]+$_[+$])])()[__[_/_]+__[_+~$]+$_[_]+$$](($=[$=[]][$]+$)[_=-~-~$]+[$_=$[__=-~-~-~_]]+$_+($[($__=[$_=[{}+[]]+[]][+[]][__])+$_[-~+[]]+$[-~-[]]+(!$+[])[__-_]+($$=!+[]+$)[+!$]+$$[-~[]]+$$[_]+$__+$$[-[]]+({}+[])[-~+[]]+$$[~-_]]+$)[~-__+__+__]+({}+[])[-~+[]])
//the above no longer works in recent versions. I had to introduce an extra comma.
($=[$=[]][(__=!$+$)[_=-~-~-~$]+({}+$)[_/_]+($$=($_=!''+$)[_/_]+$_[+$])]),$()[__[_/_]+__[_+~$]+$_[_]+$$](($=[$=[]][$]+$)[_=-~-~$]+[$_=$[__=-~-~-~_]]+$_+($[($__=[$_=[{}+[]]+[]][+[]][__])+$_[-~+[]]+$[-~-[]]+(!$+[])[__-_]+($$=!+[]+$)[+!$]+$$[-~[]]+$$[_]+$__+$$[-[]]+({}+[])[-~+[]]+$$[~-_]]+$)[~-__+__+__]+({}+[])[-~+[]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment