Browse Source

Optimize `b`

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

+ 1 - 1
jsfuck.js

@@ -25,7 +25,7 @@
 
   var MAPPING = {
     'a':   '(false+"")[1]',
-    'b':   '(+(11))["toString"](20)',
+    'b':   '(Function("return{}")()+"")[2]',
     'c':   '([]["filter"]+"")[3]',
     'd':   '(undefined+"")[2]',
     'e':   '(true+"")[3]',

+ 3 - 3
output.txt

@@ -25,7 +25,7 @@
 `8` 44
 `9` 49
 `:` 2286
-`;` 8307
+`;` 8205
 `<` 292
 `=` 687
 `>` 298
@@ -41,7 +41,7 @@
 `H` 6608
 `I` 70
 `J` 7301
-`K` 8312
+`K` 8210
 `L` 6708
 `M` 4980
 `N` 16
@@ -64,7 +64,7 @@
 `_` 6582
 ``` 6582
 `a` 15
-`b` 1748
+`b` 1646
 `c` 144
 `d` 22
 `e` 25