Solution may be pretty easy but I am a newbie so forgive me. Even I could launch the Node.js REPL
and play around (create objects ,make calculations),the simple command below:
$ node --version
doesn't work.It says:
"Syntax Error: Unexpected Identifier" .
I am trying to write this to Node.js command prompt.I am using Windows 10.