更新文章
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# 环境搭建
|
||||
|
||||
|
||||
## 使用nodejs直接运行
|
||||
1. 下载安装[nodejs](https://nodejs.org/en)
|
||||
2. 创建一个js文件`helloworld.js`
|
||||
```javascript :no-line-numbers
|
||||
var name="Alice";
|
||||
console.log("Hello, " + name);
|
||||
```
|
||||
3. 在命令行中输入如下命令
|
||||
``` :no-line-numbers
|
||||
node helloworld.js
|
||||
```
|
||||
Reference in New Issue
Block a user