Quantcast
Viewing all articles
Browse latest Browse all 23

Answer by student for nodejs vs node on ubuntu 12.04

Will be helpful for absolute beginners

Although, you have got the answer, just wanted to point out that the node command (without any parameters) will start node in REPL read-eval-print-loop mode to execute raw javascript code.

Another way to use node command is by providing it a js file as a parameter. This is how we mostly use it.


Viewing all articles
Browse latest Browse all 23

Trending Articles