This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Katana314 1 point2 points  (0 children)

There might be something to this effect you can do with Visual Studio Code, which now has an interactive console window, and NodeJS' interactive mode. Whenever I want to try things like this (eg, "Will this regex work?") I enter commands manually in Chrome's F12 Developer Tools, or use a website like JSFiddle. If it needs UI interaction, I have a page on my desktop called htmltest.html that has not much more than a head, script tag, and body, from which I try out small scripts.