Browse Source

Shortened code for "]"

fasttime 11 years ago
parent
commit
b33aaa2829
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jsfuck.js

+ 1 - 1
jsfuck.js

@@ -103,7 +103,7 @@
     '@':   USE_CHAR_CODE,
     '[':   '(GLOBAL+"")[0]',
     '\\':  USE_CHAR_CODE,
-    ']':   USE_CHAR_CODE,
+    ']':   '(GLOBAL+"")["slice"]((+(.+[0000000001])+"")[2]+1)',
     '^':   USE_CHAR_CODE,
     '_':   USE_CHAR_CODE,
     '`':   USE_CHAR_CODE,