Run node-v8-options | select-string “harmony” in power shell.

  node.js, question

图片描述

node --v8-optionsIs used to view the available v8 virtual machine options, to use these options directly after node
For example, executionnode --harmony, you can enter the repl with es6 feature turned on.
In addition, the latest version 6.0 of node.js has turned on most es6 features by default and can be used directly.