aemkei / jsfuck

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

write "infinity" shorter #90

Closed sbagdaulet closed 4 years ago

sbagdaulet commented 5 years ago

why not use this spelling infinity option

hazzik commented 5 years ago

Thanks for the contribution. Unfortunately, this is not how it works: the / character is available only as a string. Therefore, the letters I and y are now broken and 7 tests are failing in total. Also, this is not "shorter" form of the Infinity, it has inflated encoding for I from 70 characters to 283 and for y from 84 to 294.