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

Update README.md #105

Open kamil-kielczewski opened 3 years ago

kamil-kielczewski commented 3 years ago

create multi-arguments functions

hazzik commented 3 years ago

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

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

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

kamil-kielczewski commented 3 years ago

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