Procházet zdrojové kódy

Shortened code for RegExp constructor

Code for "E", "R" and ":" becomes 2 character shorter.
Francesco Trotta před 11 roky
rodič
revize
7ec96c9c94
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      jsfuck.js

+ 1 - 1
jsfuck.js

@@ -20,7 +20,7 @@
     'String':   '([]+[])',
     'String':   '([]+[])',
     'Boolean':  '(![])',
     'Boolean':  '(![])',
     'Function': '[]["filter"]',
     'Function': '[]["filter"]',
-    'RegExp':   'Function("return/0/")()'
+    'RegExp':   'Function("return/"+false+"/")()'
   };
   };
 
 
   var MAPPING = {
   var MAPPING = {