소스 검색

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 = {