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

More streamlined 'Infinity' #69

Closed Vivapercuore closed 6 years ago

Vivapercuore commented 6 years ago

'Infinity':
from: '+(+!+[]+(!+[]+[])[!+[]+!+[]+!+[]]+[+!+[]]+[+[]]+[+[]]+[+[]])' // +"1e1000" to: +!![]/+![] // 1/0

hazzik commented 6 years ago

/ is not in the charset. Therefore it will be substituted by its representation which is much larger than a current length of infinity.