Browse Source

Guide update for constructor call yield

pull/1523/head
Sami Vaarala 8 years ago
parent
commit
a0dd78ebd3
  1. 4
      website/guide/coroutines.html

4
website/guide/coroutines.html

@ -38,15 +38,15 @@ of plain Ecmascript-to-Ecmascript calls. The following prevent a yield if
they are present anywhere in the yielding coroutine's call stack:</p>
<ul>
<li>a Duktape/C function call</li>
<li>a constructor call</li>
<li>a getter/setter call</li>
<li>a proxy trap call</li>
<li>a <code>Reflect.construct()</code> call</li>
<li>an <code>eval()</code> call</li>
<li>a finalizer call</li>
</ul>
<div class="note">
Since Duktape 2.2 <code>Function.prototype.call()</code>,
Since Duktape 2.2 constructor calls, <code>Function.prototype.call()</code>,
<code>Function.prototype.apply()</code>, and <code>Reflect.apply()</code>
no longer prevent a yield.
</div>

Loading…
Cancel
Save