Object destructuring support


I get an error with these simple lines:

const aux = { hello: "world" };
console.log( { ...aux });

Is object destructuring supported?


Hi Jose,

Unfortunately the spread operator is not supported. The Javascript engine I use (Chakracore) has experimental support for it but it’s not great. I need to re-implement it myself but it will take time.

Sorry for the inconvenience and thanks for reporting.

Thanks for the response.

Would it be possible to use something like babel to have a fully ES6 syntax in a nodejs project?

Hi again @ja_hurtado :wave:

Absolutely, take a look at the React project template that uses webpack and Babel to process JSX files :slightly_smiling_face:.