Ecmascript 6 support on Node.js

后端 未结 3 1029
情歌与酒
情歌与酒 2021-02-07 21:13

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:02

    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.

提交回复
热议问题