title: Declare anonymous generator function using arrow syntax
body: <p>Is it possible to declare an anonymous generator function using the arrow syntax in ES6 JavaScript?  This is what I've tried:</p>
  
  <pre><code>let func = *() =&gt; { };
  </code></pre>
  
  <p>but this doesn't parse (I'm using <a href="http://babeljs.io/" rel="nofollow">Babel.js</a> to compile my ES6 to ES5).  <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*" rel="nofollow">The documentation on MDN</a> only mentions the more standard syntax:</p>
  
  <pre><code>let func = function *() { };
  </code></pre>
  
  <p>I'd like to be able to define the generator function using a arrow in order to take advantage of the lexical scoping of <code>this</code>.  Is this possible?</p>