Ver Fonte

Remove unused variable

Alexander Zaytsev há 5 anos atrás
pai
commit
b6e82cf2ef
1 ficheiros alterados com 1 adições e 2 exclusões
  1. 1 2
      jsfuck.js

+ 1 - 2
jsfuck.js

@@ -132,7 +132,7 @@
   }
 
   function replaceMap(){
-    var character = "", value, original, i, key;
+    var character = "", value, i, key;
 
     function replace(pattern, replacement){
       value = value.replace(
@@ -159,7 +159,6 @@
       character = String.fromCharCode(i);
       value = MAPPING[character];
       if(!value) {continue;}
-      original = value;
 
       for (key in CONSTRUCTORS){
         replace("\\b" + key, CONSTRUCTORS[key] + '["constructor"]');