Any ideas on how to use ES6 on WebStorm 10?
Here's what I have done so far:
var marked0$0 = [count].map(regeneratorRuntime.mark);
ReferenceError: regeneratorRuntime is not defined
I think there are two things you probably need to do to make it work based on the nature of the error you're describing.
npm install babel-core
--optional runtimeas an argument to the invocation of babel
This is based on what's described in some detail here.