Es6 Giving Syntaxerror: Unexpected Token )
Here is my Node.js script: pDownload('http://serv/file', 'localfile') .then( ()=> console.log('downloaded file no issues...')) .catch( e => console.error('error while dow
The version of V8 in Node 0.10 doesn't support arrow functions.
You can fix it by either:
(Thanks James Allardice)
Post a Comment for "Es6 Giving Syntaxerror: Unexpected Token )"