pan> <span class="kd">function</span><span class="o">*</span> <span class="p">()</span> <span class="p">{};</span><br/><br/><span class="kd">var</span> <span class="nx">shorthand</span> <span class="o">=</span> <span class="p">{</span> <span class="o">*</span> <span class="nx">generator</span><span class="p">()</span> <span class="p">{}</span> <span class="p">};</span><br/></code></pre>
</div>

<p>When using <code class="highlighter-rouge"><span class="p">{</span><span class="nt">"before"</span><span class=