Ecmascript 6 support on Node.js

后端 未结 3 1781
灰色年华
灰色年华 2021-02-07 21:22

I\'ve been working with KoaJS for a while, and we can easily use the \'let\' keyword and the generators when using the --harmony flag but I couldn\'t find how much support for

3条回答
  •  悲哀的现实
    2021-02-07 22:00

    This does not concern node 0.11, but in the current 5.8.0, you can use --harmony_default_parameter.

    It it scheduled to be included by default in v6.0.

提交回复
热议问题