Things like how I should be using a certain function the right way.
This is where web applications like https://jscomplete.com/playground help. But it is not a pleasant experience to have blocks of incomplete code lying around in jscomplete, and keep executing few other parts of the program.
I use the following tools to quickly know how to write a piece of functionality, or quickly test parts of code/components.
Install nodemon globally -
npm i -g nodemon.
- Create hello.js
- Open terminal within VS Code. Type
- nodemon will start printing any output statements. Do changes, save and boom - you have the output
The only inconvenience is the need for
console statements - but I have actually gone
Install Quokka plugin and start typing away for real-time evaluation.
Now, I can have a whole folder of stupid code blocks just because I can.