mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
Update intro.md
Add the node command line of cmd for windows about support ES6
This commit is contained in:
parent
7791c64d30
commit
2b1600fed4
@ -80,6 +80,12 @@ $ node --v8-options | grep harmony
|
|||||||
|
|
||||||
上面命令的输出结果,会因为版本的不同而有所不同。
|
上面命令的输出结果,会因为版本的不同而有所不同。
|
||||||
|
|
||||||
|
如果是新手,使用的是windows环境下的node环境,想要查看 Node 已经实现的特性,代码如下:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
node --V8-option | findstr harmony
|
||||||
|
```
|
||||||
|
|
||||||
我写了一个工具 [ES-Checker](https://github.com/ruanyf/es-checker),用来检查各种运行环境对 ES6 的支持情况。访问[ruanyf.github.io/es-checker](http://ruanyf.github.io/es-checker),可以看到您的浏览器支持 ES6 的程度。运行下面的命令,可以查看你正在使用的 Node 环境对 ES6 的支持程度。
|
我写了一个工具 [ES-Checker](https://github.com/ruanyf/es-checker),用来检查各种运行环境对 ES6 的支持情况。访问[ruanyf.github.io/es-checker](http://ruanyf.github.io/es-checker),可以看到您的浏览器支持 ES6 的程度。运行下面的命令,可以查看你正在使用的 Node 环境对 ES6 的支持程度。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user