Browse Source

Optimize C,D,E

Alexander I. Zaytsev 11 years ago
parent
commit
821dba96ec
2 changed files with 7 additions and 7 deletions
  1. 3 3
      jsfuck.js
  2. 4 4
      output.txt

+ 3 - 3
jsfuck.js

@@ -52,9 +52,9 @@
 
     'A':   '(Array+"")[9]',
     'B':   '(Boolean+"")[9]',
-    'C':   USE_CHAR_CODE,
-    'D':   USE_CHAR_CODE,
-    'E':   USE_CHAR_CODE,
+    'C':   'GLOBAL["escape"]("<")[2]',
+    'D':   'GLOBAL["escape"]("=")[2]',
+    'E':   'GLOBAL["escape"](">")[2]',
     'F':   '(Function+"")[9]',
     'G':   USE_CHAR_CODE,
     'H':   USE_CHAR_CODE,

+ 4 - 4
output.txt

@@ -24,7 +24,7 @@
 `7` 39
 `8` 44
 `9` 49
-`:` 18057
+`:` 11789
 `;` 16328
 `<` 392
 `=` 947
@@ -33,9 +33,9 @@
 `@` 13944
 `A` 1011
 `B` 1012
-`C` 13955
-`D` 13960
-`E` 13965
+`C` 7137
+`D` 7692
+`E` 7143
 `F` 1172
 `G` 13975
 `H` 13980