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

easier alternative way of getting infinity through whatever buggy js exists in this world #130

Closed GooseterV closed 1 year ago

GooseterV commented 1 year ago
(+!+[]+[])/+[]

if you divide any string number other than 0, by 0 you get Infinity example:

"1"/0 === Infinity // yes
GooseterV commented 1 year ago

oh nvm closing because it uses a slash