Nodejs

Node scripts are not that different from the other JS scripts you’ve written in the past. You also need to put them on a filename with a .js extension. While nodeJS programs can be constructed in the REPL, that’s not how we will run the example scripts in this notes. Unless I specify otherwise, when you see a listing like the following; Listing 1 - hellonode.js setTimeout(()=> { console.log("Hello"); }, 3000); console.
Read more...