ode>yield</code> keyword to return a value and suspend processing to be resumed later.
The result of <code>yield</code> is a two-part structure with a value and a flag showing whether or not processing is done:</p>
<div class="code-sample lang-js" title="generator-example.js">
<div class="highlight"><pre><span></span><code><span class="kd">function</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="nx">threeWords</span><span class="w"> </span><span class="p">()</span>