As a beginner, you always need a simple way to run the code and test it.
The best way to test a piece of code is Browser console.
ctrl+shift+I or right click and select
Run Offline using Nodejs
Install nodejs in your machine.
.js file and run using
Create a file
hello.js and paste the below code.
Open terminal or cmd in the location of
Run the code using
Few of them are:
This is my way to go playground to test the js code.
It is created by Stephen Grider. JSPlayground
This is a open-source GitHub project which you can fork and run it locally.
This is a extension available in VS Code.
This is a real time js editor. With each line it shows what is the result.
Checkout this short tutorial by Brad Traversy on Youtube.
This is my small list to test js code.
If you have other great tools or library, please ping me on twitter. I will update it here.