I'm having an issue with arrow functions:
~ iosjs --version
v1.3.0
That looks like iosjs and not node on accident.
~ iojs -e "console.log('hi')"
hi
iojs -e "console.log( Promise )"
[Function: Promise]
So far so good.
~ iojs -e "() => {}"
[eval]:1
() => {}
^
SyntaxError: Unexpected token )
at Object.exports.runInThisContext (vm.js:53:16)
at Object.<anonymous> ([eval]-wrapper:6:22)
at Module._compile (module.js:444:26)
at evalScript (node.js:413:25)
at startup (node.js:72:7)
at node.js:799:3