Posts in current category
May 10, 2021 17:00 Node.js
For front-end programmers who don't use dynamic programming languages such as Python, PHP, and Java, it's wise to choose .js as a tool to create their own services.
At the same time, learning .js tutorial can also help back-end programmers deploy some high-performance services.
Here's our first .js program:
Save the file, named helloworld.js and execute it with the node command:
After the program is executed, hello World is output at the terminal.
Open the terminal, type node into command interaction mode, you can enter a code statement immediately after the execution and display the results, such as:
$ node > console.log('Hello World!'); Hello World!