How to experiment with javascript

I learn best by experimentation, but the intro to javascript doesn’t explain how to set up your computer to view results of code. What editor and interpreter is best for looking at the results of code you write?

There are a number of ways to play with JavaScript code. You can, of course, use the freeCodeCamp editor. You can also just open the devTools on you browser (F12) and go to the Console. IDEs like VS Code will allow you to run JavaScript locally (probably requiring an extension). With Node you can launch a REPL (Read, Execute, Print Loop) environment. You can use online tools like or JavaScript Tutor.

The Chrome console worked like a charm. Thank you!

1 Like