瀏覽代碼

Shortened code for RegExp constructor

Code for "E", "R" and ":" becomes 2 character shorter.
Francesco Trotta 11 年之前
父節點
當前提交
7ec96c9c94
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 = {