When I in the Terminal to execute the node.js code like bellow:
$ node
> console.log('Hey, Julie!');
Hey, Julie!
undefined
it should print the Hey, Julie! like above, but why there is a undefined there?
When I in the Terminal to execute the node.js code like bellow:
$ node
> console.log('Hey, Julie!');
Hey, Julie!
undefined
it should print the Hey, Julie! like above, but why there is a undefined there?