I have the following in a Node scripts:
\"use strict\"; class Whatever { constructor() { console.log(\"I\'m in the constructor!\"); } } exp
ES6 modules aren't stable in Node yet, but you can use --harmony_modules to enable them. This obviously is not recommended in a production environment.
--harmony_modules
ES6 support in Node 4.x