Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
22

How to run a js file

debopam
debopam

Created a new file, named it qstring.js -- contains a few console.log calls
But when i run it, nothing gets printed out

3 years ago
You are viewing a single comment. View All
21
Zavexeon
Zavexeon

That's because in replit index.js will always be ran first. In the shell (accessed by hitting F1 and clicking "open shell" on the popup menu) type node qstring.js.

3 years ago