DEV Community

Discussion on: Using Node.js on your command line to quickly test JavaScript functions

Collapse
 
jamesthomson profile image
James Thomson

Nice tip. Another approach, if you're developing for the browser, you can also do this in the console. And (at least in Chrome Devtools) you can save Snippets under the Sources tab. When you run a snippet it automatically runs it through console.