This is my JS file and this is my code in text editor(VS CODE)
and this is what it is showing in OPERA browser and almost in every browser
I want the output but it is showing the raw code..! this all happened after I installed node.js in my pc, I installed node.js because I want my JS code to show output in terminal that's all I know about Node JS, but now I had successfully uninstalled node from my pc but the same problem exists. Before installing node in pc my JS code show complete output without such problem.
This looks like you're trying to run a Node application.
To run this script make sure you have Node installed then run
node <fileName>.jsin your terminal to see your output.