()</span> <span class="p">{</span><br/>    <span class="k">yield</span> <span class="s2">"44"</span><span class="p">;</span><br/>    <span class="k">yield</span> <span class="s2">"55"</span><span class="p">;</span><br/><span class="p">}</span><br/></code></pre>
</div>

<p>This is also valid:</p>

<div class="highlighter-rouge"><pre class="highlight"><code><span class="cm">/*eslint-env es6*/</span><br/><br/><span class="kd">function</span> <span class="o">*</span><span class="nx">generator</span><span class=