Simply put, node. JS is the JavaScript that runs on the server.
node. JS is a platform built on the Chrome JavaScript runtime.
node. JS is an event-driven I/O server-side JavaScript environment, based on the Google V8 engine, the V8 engine executes JavaScript very quickly and with great performance.
If you're a front-end programmer, you don't know a dynamic programming language like PHP, Python, or Java, and then you want to create your own service, then node. JS is a great choice.
node. JS is JavaScript running on the server, and if you're familiar with JavaScript, you'll easily learn to node. js.
Of course, if you're a back-end programmer and want to deploy some high-performance services, learning node. JS is also a great option.
First node. JS Program: Hello world! Script mode
Here's our first node. JS Program:
Console.log ("Hello World");
Save the file with the file name Helloworld.js and execute it via the node command:
Node Helloworld.js
After the program executes, normal, the output of Hello world will be in the terminal.
Interactive mode
Open terminal, type node into the command interaction mode, you can enter a code statement immediately after execution and display the results, for example:
$ node> console.log (' Hello world! '); Hello world!
Today, I have a special look at the Node.js,node.js very strong appearance.
Reference: http://www.w3cschool.cc/nodejs/nodejs-tutorial.html
Node. JS Introduction--Entry level