Explorar o código

Shortened code for "U"

Francesco Trotta %!s(int64=11) %!d(string=hai) anos
pai
achega
89d46903ad
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      jsfuck.js

+ 1 - 1
jsfuck.js

@@ -71,7 +71,7 @@
     'R':   '(+false+RegExp)[10]',
     'S':   '(+false+String)[10]',
     'T':   '(NaN+Function("return Date")()())[30]',
-    'U':   USE_CHAR_CODE,
+    'U':   '(NaN+Function("return{}")()["toString"]["call"]())[11]',
     'V':   USE_CHAR_CODE,
     'W':   USE_CHAR_CODE,
     'X':   USE_CHAR_CODE,