Content-Length: 224955 | pFad | http://github.com/whatwg/dom/commit/6db6c7d03e3b29078ebdc160371a3777649f3354

F4 Correct doAmazingness() example · whatwg/dom@6db6c7d · GitHub
Skip to content

Commit

Permalink
Correct doAmazingness() example
Browse files Browse the repository at this point in the history
As this is a frequently made error, having it wrong in DOM does the community a disservice.

Fixes #1300.
  • Loading branch information
annevk committed Aug 14, 2024
1 parent 809bfa2 commit 6db6c7d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2122,6 +2122,8 @@ the following:
could be as follows:

<ol>
<li><p>Let |global| be [=this=]'s [=relevant global object=].

<li><p>Let |p| be [=a new promise=].

<li>
Expand Down Expand Up @@ -2149,7 +2151,8 @@ the following:
<ol>
<li><p>Let |amazingResult| be the result of doing some amazing things.

<li><p>[=/Resolve=] |p| with |amazingResult|.
<li><p>[=Queue a global task=] on the amazing task source given |global| to [=/resolve=] |p|
with |amazingResult|.
</ol>

<li><p>Return |p|.
Expand Down Expand Up @@ -10374,6 +10377,7 @@ Elliott Sprehn,
Emilio Cobos Álvarez,
Eric Bidelman,
Erik Arvidsson,
François Daoust<!-- tidoust; GitHub -->,
François Remy<!-- FremyCompany; GitHub -->,
Gary Kacmarcik,
Gavin Nicol,
Expand Down

0 comments on commit 6db6c7d

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/whatwg/dom/commit/6db6c7d03e3b29078ebdc160371a3777649f3354

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy