I want to test small snippets of JavaScript code in VSCode's terminal before inserting them in my project. I want something similar to Chrome's Devtools console.
Install node and npm from https://nodejs.org/en/download/
After installation in VSCode under terminal tab run
node
Paste your snippet to run your javascript code or use node filepath/filename.js to see result.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With