title: Difference between yield* and yield
body: <p>It is pretty straight forward to get what 'yield' is doing in a generator function in the example below. But apparently there is another version of it 'yield*'</p>
  
  <pre><code>function * loop(times){
     while(times){
       times--;
       yield times;
     }
  }
  
  let result = loop(2);
  result.next() // {value: 1, done:false} 
  </code></pre>
  
  <p>Can someone explain the difference between'yield' and 'yield*' ? </p>