Javascript undefined

Why NodeJs REPL prints undefined?

We know that REPL stand for READ, EVALUATE, PRINT and LOOP. So when we use a NodeJS REPL, every line of code that we write is immediately processed or evaluated.

Address

OpenSourceCook.in
"Natraj"  Bungalow,
Colony No.7,  Sr.No. 38.
(Lane Behind Sai Baba Mandir)
Kale Borate Nagar, Hadapsar,
Pune - 411028.
Get Directions