aemkei / jsfuck

Write any JavaScript with 6 Characters: []()!+
jsfuck.com
Do What The F*ck You Want To Public License
8.07k stars 671 forks source link

Use the 'at' method instead of 'flat' method #126

Open maeema opened 2 years ago

maeema commented 2 years ago

The implementation of #119.

hazzik commented 2 years ago

Please run grunt to generate output.txt file. That file contains the lengths of resulting characters. Then play with alignment (adding 0, NaN, 'true', 'false', 'undefined' at the start of the expression to reduce number of characters required to get index). For example: (<something>)[9] => (0+<something>)[10]