Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (13.1k points)
Can anyone help me how I can able to run code which I have written in JavaScript?

1 Answer

0 votes
by (26.7k points)

Basically, we need to install and set up Nodejs on your local pc. Once done, save the code and put it in a folder. After that, open cmd and write the command to execute:

node a.js

I hope this will help.

Want to become a Java Expert? Join Java Certification now!!

Want to know more about Java? Watch this video on Java Course | Java Tutorial for Beginners:

Browse Categories

...