Browse Source

Merge pull request #13 from subzey/feature/fullstop

Encode full stop in 79 chars
Martin Kleppe 11 năm trước cách đây
mục cha
commit
c17bb3aeef
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      jsfuck.js

+ 1 - 1
jsfuck.js

@@ -91,7 +91,7 @@
     '+':   '(+(+!+[]+(!+[]+[])[!+[]+!+[]+!+[]]+[+!+[]]+[+[]]+[+[]])+[])[2]',
     ',':   '[[]]["concat"]([][[]])+""',
     '-':   '(+(.0000000001)+"")[2]',
-    '.':   '(0)["toFixed"](1)[1]',
+    '.':   '(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[+!+[]]+[+[]]+[+[]])+[])[+!+[]]',
     '/':   '("")["italics"]()[4]',
     ':':   'GLOBAL["Date"]()[21]',
     ';':   USE_CHAR_CODE,