Skip to content

Commit

Permalink
Optimize [ and ]
Browse files Browse the repository at this point in the history
Make `{` and `}` more readable. This does not affect lengths
  • Loading branch information
hazzik committed Jan 11, 2014
1 parent 6a7f540 commit 535ddde
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions jsfuck.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@
'>': '("")["italics"]()[2]',
'?': '(RegExp()+"")[2]',
'@': USE_CHAR_CODE,
'[': '(GLOBAL+"")[0]',
'[': '(Function("return{}")()+"")[0]',
'\\': USE_CHAR_CODE,
']': '(GLOBAL+"")["slice"]((+(.+[0000000001])+"")[2]+1)',
']': '(Function("return{}")()+"")["slice"]("-1")',
'^': USE_CHAR_CODE,
'_': USE_CHAR_CODE,
'`': USE_CHAR_CODE,
'{': '(NaN+[]["filter"])[21]',
'|': USE_CHAR_CODE,
'}': '([]["filter"]+"")["slice"]((+(.+[0000000001])+"")[2]+1)',
'}': '([]["filter"]+"")["slice"]("-1")',
'~': USE_CHAR_CODE
};

Expand Down
4 changes: 2 additions & 2 deletions output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
`X` 6613
`Y` 6618
`Z` 6584
`[` 2931
`[` 1640
`\` 6713
`]` 3334
`]` 2043
`^` 6594
`_` 6582
``` 6582
Expand Down

0 comments on commit 535ddde

Please sign in to comment.