diff --git a/js/commands.js b/js/commands.js index 0ad6547..96f70e1 100644 --- a/js/commands.js +++ b/js/commands.js @@ -54,5 +54,5 @@ function cmd_exec(input) { if (chars.length > 0) return "Invalid input!"; // Execute input and return output - return (new Function(`return ${str}`))(); + return (new Function(`return ${str}`))().toString(); } \ No newline at end of file