aemkei / jsfuck

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

Fix '10' example in Basics #60

Closed Aaron1011 closed 8 years ago

Aaron1011 commented 8 years ago

The current 10 example actually produces the "10" (i.e. a string), instead of the number 10 as the previous three example do. I've wrapped the expression in an extra pair of brackets, and added a leading + to convert it for a number

aemkei commented 8 years ago

Eagleeye! Thanks for fixing this.