在NodeJS中启用ES6 (harmony) 版本: 开始吧, Linux下启用 来源: http://h3manth.com/new/blog/2013/es6-on-nodejs/ Node version : v0.11.6 先来看一看版本 harm ;) :$ node --v8-options | grep harm--harmony_typeof (enable harmony semantics for typeof)--harmony_scoping (enable harmony block scoping)--harmony_modules (enable harmony modules (implies block scoping))--harmony_symbols (enable harmony symbols (...
在NodeJS中启用ES6 (harmony) 版本: 开始吧, Linux下启用 来源: http://h3manth.com/new/blog/2013/es6-on-nodejs/ Node version : v0.11.6 先来看一看版本 harm ;) : $ node --v8-options | grep harm--harmony_typeof (enable harmony semantics for typeof)--harmony_scoping (enable harmony block scoping)--harmony_modules (enable harmony modules (implies block scoping))--harmony_symbols (enable harmony symbols ...