ECMAScript 6 modules in Node.JS

前端 未结 2 1377
再見小時候
再見小時候 2020-12-06 17:15

Node.JS v0.11.3 claims to have support for ECMAScript 6 modules with the flag --harmony_modules.

I have tried various examples, such as the following.<

2条回答
  •  遥遥无期
    2020-12-06 17:50

    You can use Continuum, which is an ES6 virtual machine written in (current) JavaScript.

    enter image description here

提交回复
热议问题