Monday, 4 September 2017

Are there some es6 features missing in node?

I notice some features are indeed here (though only accessible with "use strict", IIRC), but some do lack, don't they?Those who seem to lack are:default parameters values (e.g. function f(x = true) {})destructured assignments (e.g. let [x, y] = [1, 2])spread operator (e.g. foo(...[1, 2]))I'm using node version 4.8.2

Submitted September 05, 2017 at 12:53AM by Pimozv

No comments:

Post a Comment