Allow parsing of async generator functions.
$ npm install babel-plugin-syntax-async-generators
.babelrc
{
"plugins": ["syntax-async-generators"]
}
$ babel --plugins syntax-async-generators script.js
require("babel-core").transform("code", {
plugins: ["syntax-async-generators"]
});