how to run and debug JavaScript code snippet

Mostly I use these methods to run JavaScript code snippet.


It is a online coding IDE, you could get most convenient abilities, including editing, running, debugging.

2) VisualStudio Code

You could download from about how to debug, you could refer to the document

3) FireFox developer tools

FireFox has one Scratchpad feature, but I don’t use it too much.