ソースを参照

Shortened code for RegExp constructor

Code for "E", "R" and ":" becomes 2 character shorter.
Francesco Trotta 12 年 前
コミット
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 = {