Fix lint issues

This commit is contained in:
RomaRoma? 2026-05-04 11:51:02 +02:00
parent ff83fea7b1
commit 6d1b4410ab
2 changed files with 3 additions and 3 deletions

View File

@ -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: <code>[</code>, <code>]</code>, <code>(</code>, <code>)</code>, <code>!</code> and <code>+</code>.<br><br>e.g. <code>[][(![]+[])[+[]]+...]</code> becomes <code>alert(1)</code>";
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);
}

View File

@ -53,4 +53,4 @@ TestRegister.addTests([
},
],
},
]);
]);