summaryrefslogtreecommitdiff
path: root/js/src/doc
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-12-13 20:59:32 -0500
committerGaming4JC <g4jc@hyperbola.info>2019-12-17 06:25:25 -0500
commitf8e41dc1988c620b85d96358a2e13d6d876dfec8 (patch)
treedb9e4dce1b1c92b477720f1eba9a9ec04b3f8e2d /js/src/doc
parent60fa4f3a848c107b46062632fc5901bbf1e46ca0 (diff)
downloaduxp-f8e41dc1988c620b85d96358a2e13d6d876dfec8.tar.gz
Bug 1316098 - Optimize out result object allocation for await/return in async function.
Tag mcp-graveyard/UXP#1287
Diffstat (limited to 'js/src/doc')
-rw-r--r--js/src/doc/Debugger/Conventions.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/doc/Debugger/Conventions.md b/js/src/doc/Debugger/Conventions.md
index e8bd3ee430..5de7bc1715 100644
--- a/js/src/doc/Debugger/Conventions.md
+++ b/js/src/doc/Debugger/Conventions.md
@@ -110,8 +110,8 @@ resumption value has one of the following forms:
the `new` expression returns the frame's `this` value. Similarly, if
the function is the constructor for a subclass, then a non-object
value may result in a TypeError.
- If the frame is a generator or async function, then <i>value</i> must
- conform to the iterator protocol: it must be a non-proxy object of the form
+ If the frame is a generator function, then <i>value</i> must conform to the
+ iterator protocol: it must be a non-proxy object of the form
<code>{ done: <i>boolean</i>, value: <i>v</i> }</code>, where
both `done` and `value` are ordinary properties.