From a0dd78ebd33fdc230d0a9e05a7624ecfb07802b2 Mon Sep 17 00:00:00 2001
From: Sami Vaarala
Date: Sat, 3 Jun 2017 04:37:50 +0300
Subject: [PATCH] Guide update for constructor call yield
---
website/guide/coroutines.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/website/guide/coroutines.html b/website/guide/coroutines.html
index c73ffbde..5f20ebbe 100644
--- a/website/guide/coroutines.html
+++ b/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:
- a Duktape/C function call
-- a constructor call
- a getter/setter call
- a proxy trap call
+- a
Reflect.construct()
call
- an
eval()
call
- a finalizer call
-Since Duktape 2.2 Function.prototype.call()
,
+Since Duktape 2.2 constructor calls, Function.prototype.call()
,
Function.prototype.apply()
, and Reflect.apply()
no longer prevent a yield.