aemkei / jsfuck

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

ES6 is current now, so use "fill" instead of "filter" to get Function constructor #42

Closed hazzik closed 8 years ago

Zorgatone commented 8 years ago

fill is supported only on chrome and firefox (on desktop browsers at least).

Not (yet) supported on explorer and mobile browsers

:-1:

aemkei commented 8 years ago

I would also keep the filter method, as it is working for older browsers.

aemkei commented 8 years ago

But many thanks for the suggestion! I love to see, that you are still trying to improve my mess.

Zorgatone commented 8 years ago

We could change it in the future... After people stop using old IE, and the browsers will support ES6

hazzik commented 8 years ago

As I see here only IE (are Microsoft going to release any new versions?), some old androids, Safari and old Node.js do not support this. I think we can enable this feature soon

aemkei commented 8 years ago

I reopened this now, cause ES6 is now all around.