Skip to content

Commit

Permalink
Optimize hyphen
Browse files Browse the repository at this point in the history
  • Loading branch information
frobinsonj committed Jul 15, 2019
1 parent d5aa8d3 commit 977aeef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion jsfuck.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
'*': USE_CHAR_CODE,
'+': '(+(+!+[]+(!+[]+[])[!+[]+!+[]+!+[]]+[+!+[]]+[+[]]+[+[]])+[])[2]',
',': '([]["slice"]["call"](false+"")+"")[1]',
'-': '(+(.+[0000000001])+"")[2]',
'-': '(+(.00000001)+"")[2]',
'.': '(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]',
'/': '(false+[0])["italics"]()[10]',
':': '(RegExp()+"")[3]',
Expand Down
12 changes: 6 additions & 6 deletions output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
`*` 4010
`+` 70
`,` 393
`-` 153
`-` 138
`.` 72
`/` 266
`0` 8
Expand All @@ -34,23 +34,23 @@
`A` 573
`B` 576
`C` 2707
`D` 2902
`D` 2887
`E` 1865
`F` 656
`G` 3851
`G` 3836
`H` 4046
`I` 70
`J` 4020
`K` 4182
`L` 4111
`M` 3852
`M` 3837
`N` 16
`O` 732
`P` 4015
`Q` 4017
`R` 1860
`S` 578
`T` 3854
`T` 3839
`U` 2227
`V` 4041
`W` 4046
Expand Down Expand Up @@ -91,5 +91,5 @@
`z` 1416
`{` 109
`|` 4126
`}` 460
`}` 445
`~` 4045

0 comments on commit 977aeef

Please sign in to comment.