Explorar el Código

Shortened code for RegExp constructor

Code for "E", "R" and ":" becomes 2 character shorter.
Francesco Trotta hace 11 años
padre
commit
7ec96c9c94
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      jsfuck.js

+ 1 - 1
jsfuck.js

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