Node JS 101
Wednesday, August 3, 2011
Hello World!
Type the following into a file called HelloWorld.js
setTimeout
(
function
(
)
{
console
.
log
(
'World'
)
;
}
,
2000
)
;
console
.
log
(
'Hello'
)
;
Launch your program in Node and watch in amazement:
node HelloWorld
.
js
Newer Post
Older Post
Home