This is an old revision of the document!
Inspired by JSFuck, but here's the rules:
[a-zA-Z0-9]), no spaces, only `` quotes
Use either `${<code>}` or (<code>+[]) to obtain useful keywords:
| keyword | code |
|---|---|
[object Object] | {} |
true | !`` |
false | ![] |
NaN | -`!` |
undefined | [][[]] |
-Infinity | ~[]/[] |
| number | code |
|---|---|
| -4 | ~-~-~!`` |
| -3 | ~-~!`` |
| -2 | ~!`` |
| -1 | ~`` |
| -0 | -`` |
| 0 | +`` |
| 1 | +!`` |
| 2 | -~!`` |
| 3 | -~-~!`` |
| 4 | -~-~-~!`` |
| code | |
|---|---|
| a | $$_=`${![]}`[+!``] |
| b | $_$$$=`${{}}`[-~!``] |
| c | $_$_$=`${{}}`[-~-~-~-~!``] |
| d | $_$$=`${[][[]]}`[-~!``] |
| e | $$=`${!``}`[-~-~!``] |
| f | $$$_$=`${![]}`[-``] |
| i | $$$=`${[][[]]}`[-~-~-~-~!``] |
| j | $$___=`${{}}`[-~-~!``] |
| l | $$_$$=`${![]}`[-~!``] |
| n | $_$=`${[][[]]}`[+!``] |
| o | $___=`${{}}`[+!``] |
| r | $$_$=`${!``}`[+!``] |
| s | $$$$=`${![]}`[-~-~!``] |
| t | $_=`${!``}`[-``] |
| u | $$$_=`${!``}`[-~!``] |
| y | $_$__=`${-~[]/[]}`[-~-~-~-~-~-~!``] |
| I | _$$=`${~[]/[]}`[+!``] |
| N | __$=``${-`!`}`[-``] |
| O | ____=`${{}}`[-~-~-~-~-~-~-~!``] |
| space | ____$=`${{}}`[-~-~-~-~-~-~!``] |
[,$___,$_$$$,$$___,$$,$_$_,$_,____$,____]={}+[], [$$$_$,$$_,$$_$$,$$$$]=![]+[], [,$$_$,$$$_]=!``+[], [__$]=-`!`+[], [,_$$,$_$,$$$_$,$$$,$_$,,,$_$__]=~[]/[]+[], [$$$_,,$_$$]=[][[]]+[]
$=(_=>_)[$_$_$+$___+$_$+$$$$+$_+$$_$+$$$_+$_$_$+$_+$___+$$_$]
[,,$__$,$$$$$]=$(`${$$_$+$$+$_+$$$_+$$_$+$_$+____$+$_$$$+$_+$___+$$_}\`((!\``)() _=$($$_$+$$+$_+$$$_+$$_$+$_$+____$+$_+$$$$$+$$$+$$$$)()