With no intention to offend even with the extra big words:
Why? Just why in the world? Of all the places you can test algorithms...
I recommend you:
Or if you have Sublime, Atom or VSCode you can install a plugin/package that executes a JS file with NodeJS. For atom there's Script! (or Run, I don't remember), for Sublime there's integrated builds and for VSCode there's CodeRunner.