title: accessing yield inside arrow function
body: <p>since it it not possible to create a arrow generator function,
  <strong>yield</strong> is never used in the context of a arrow function.</p>
  
  <pre><code>var arrowGenerator = *() =&gt; { };
  </code></pre>
  
  <p>then you should be able to and use <strong>yield</strong> in the context of the generator function. just like <strong>this</strong> </p>
  
  <pre><code>function* generator() {
      funcWithCallback((value) =&gt; {
         yield value;
      });
  }
  </code></pre>
  
  <p>but in babel it uses <strong>yield</strong> in context of the arrow function and not the genreators. </p>
  
  <p>i want to do this so you don't need to return a callback function with the value, just to yield it.</p>
  
  <pre><code>function* gen() {
      yield function (callback) {
          funcWithCallback(callback);
      } 
  }
  </code></pre>