# node.js 安裝 (略)
# 運行一個 node.js 文件
- 現(xiàn)在本地創(chuàng)建一個 js 文件 hello.js,然后用 node.js 運行它
- 打開 node.js
- 輸入命令 node /xx/xx/hello.js
會輸出 js 輸出結果轧拄。
# node.js 安裝 (略)
# 運行一個 node.js 文件
- 現(xiàn)在本地創(chuàng)建一個 js 文件 hello.js,然后用 node.js 運行它
- 打開 node.js
- 輸入命令 node /xx/xx/hello.js
會輸出 js 輸出結果轧拄。