Alex Zaytsev
Alex Zaytsev
No, it is not possible to call function with more than one arguments without eval in JSfuck. So... you need to come up with a way to represent this with...
Oh, cool. Nice.
Now I need to recall why I wanted to get a way to call a method with two arguments. I completely forgot. :-(
@kamil-kielczewski this is because "eval source" wraps code into `function() { ... CODE }`: ```js function anonymous() { [1,2][1] } ``` So, to get the `2` you need to encode...
Thanks! But btoa/atob are not available on NodeJS. So I don't think it can be accepted.
Also, it is better to encode like this: ``` 'M' == []["fill"]["constructor"]("return btoa")()(0)[0] ``` `btoa`/`atob` call outside of the function constructor
I have this implemented: https://github.com/hazzik/jsfuck/blob/atob-btoa/output.txt so, it's under 2500 characters actually (and most of characters are below 1800)
Same as #68 (fixed in #75) I assume you are talking about the website, which has outdated version.
:-1: Why do we need another polyfill if we can use either JSON2 or JSON3?
> Changing prototypes or defining global variables has never been a good idea. That's not the way a shim should work at all. It works exactly as it should. Shim...