On Wed, Oct 10, 2012 at 9:29 AM, ketan mehta <[email protected]> wrote:
> Hi,
> I am using Window 7 and I have installed Node.js from
> http://nodejs.org/download/ (Windows Installer (.msi) 64 bit). Is there
> anything apart from this needs to be installed to work with Node?
> In Node window, even if I just type console.log('hello'); and press
> enter, it prints the word 'hello' but in second line it prints 'undefined'.
> Please refer the attached screen shot. What shall be the problem?
Nothing. console.log() prints a string and returns undefined, that's
what you're seeing. Instead of console.log('hello') try 'hello' and
nothing else.
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en