search

Home  >  Q&A  >  body text

node.js - 在power shell里面运行node --v8-options | Select-String "harmony"

黄舟黄舟2782 days ago621

reply all(1)I'll reply

  • PHP中文网

    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

    reply
    0
  • Cancelreply