I had installed Node.js to run JS codes that I was doing on LeetCode, but I wasn't able to run the code with it, after that I installed on VS Code the extension named Code Runner, but this is what I've got on the output:
[Running] node "d:\Microsoft VS Code\projects\testing.js"
[Done] exited with code=0 in 0.075 seconds
And here's the code:
function sum(a, b) {return a + b;}
sum(10, 20);
I really don't know why this is happening... :(
node testing.jsdoes that work better ? You should see an output to the console if you do `console.log("Hello World") at the end. If you do well, code runner extension is broken maybe.