Skip to content

Conversation

EduardoSantosF
Copy link

@EduardoSantosF EduardoSantosF commented Jul 19, 2022

Instead of just adding + 1 to get any number, this solution concatenates the numbers doing something like this:
'123' === '1' + ( 1 + 1 ) + ( 1 + 1 + 1 )

which is way smaller than adding + one 123 times

original output = 117k characters
improved output = 92k characters
jsFuck output = 8k LOL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant