Skip to content

Commit f167ac1

Browse files
authored
Editorial: add missing slot when constructing AsyncContext (tc39#56)
1 parent f7be6bb commit f167ac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ <h1>AsyncContext ( _options_ )</h1>
384384
1. Else,
385385
1. Let _nameStr_ be the empty String.
386386
1. Let _defaultValue_ be *undefined*.
387-
1. Let _asyncContext_ be ? OrdinaryCreateFromConstructor(NewTarget, *"%AsyncContext.prototype%"*, « [[AsyncContextKey]] »).
387+
1. Let _asyncContext_ be ? OrdinaryCreateFromConstructor(NewTarget, *"%AsyncContext.prototype%"*, « [[AsyncContextKey]], [[AsyncContextDefaultValue]] »).
388388
1. Set _asyncContext_.[[AsyncContextKey]] to a new Symbol whose [[Description]] is _nameStr_.
389389
1. Set _asyncContext_.[[AsyncContextDefaultValue]] to _defaultValue_.
390390
1. Return _asyncContext_.

0 commit comments

Comments
 (0)