aemkei / jsfuck

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

Update README.md #105

Open kamil-kielczewski opened 4 years ago

kamil-kielczewski commented 4 years ago

create multi-arguments functions

hazzik commented 4 years ago

If you want even more arguments for less characters you can do following:

"return(" + []["slice"]["call"](false+"") + ")=>f+t"
aemkei commented 4 years ago

Well, that is a nice hack to allow multiple args.

kamil-kielczewski commented 4 years ago

@hazzik Finally I add info about optimization trick which is very clever