PHP中文网2017-04-17 13:52:55
node --v8-options
is used to view the available v8 virtual machine options. To use these options, add them directly after the node.
For example, execute node --harmony
to enter the repl with es6 features enabled.
In addition The latest version 6.0 of node.js has turned on most of the es6 features by default, you can use it directly