diff --git a/src/core/operations/FromJSFuck.mjs b/src/core/operations/FromJSFuck.mjs
index b50c1973..748e4289 100644
--- a/src/core/operations/FromJSFuck.mjs
+++ b/src/core/operations/FromJSFuck.mjs
@@ -21,7 +21,7 @@ class FromJSFuck extends Operation {
this.name = "From JSFuck";
this.module = "Default";
this.description = "Decodes JSFuck encoded JavaScript. JSFuck uses only 6 characters: [, ], (, ), ! and +.
e.g. [][(![]+[])[+[]]+...] becomes alert(1)";
- this.infoURL = "https://wikipedia.org/wiki/JSFuck";
+ this.infoURL = "https://wikipedia.org/wiki/JSFuck";
this.inputType = "string";
this.outputType = "string";
this.args = [];
@@ -42,7 +42,7 @@ class FromJSFuck extends Operation {
}
try {
- return String(Function('"use strict"; return (' + input + ')')());
+ return String(Function("\"use strict\"; return (" + input + ")")());
} catch (err) {
throw new OperationError("Unable to decode JSFuck: " + err.message);
}
diff --git a/tests/operations/tests/FromJSFuck.mjs b/tests/operations/tests/FromJSFuck.mjs
index 46e42e50..12e356f9 100644
--- a/tests/operations/tests/FromJSFuck.mjs
+++ b/tests/operations/tests/FromJSFuck.mjs
@@ -53,4 +53,4 @@ TestRegister.addTests([
},
],
},
-]);
\ No newline at end of file
+]);