File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,26 @@ contributors: Your Name(s) Here
1414 <p>This is an algorithm:</p>
1515 <emu-alg>
1616 1. Let _proposal_ be *undefined*.
17- 1. If IsAccepted(_proposal_), then
17+ 1. If IsAccepted(_proposal_) is *true* , then
1818 1. Let _stage_ be *0*<sub>ℤ</sub>.
1919 1. Else,
2020 1. Let _stage_ be *-1*<sub>ℤ</sub>.
2121 1. Return ? ToString(_stage_).
2222 </emu-alg>
2323</emu-clause>
24+
25+ <emu-clause id="sec-is-accepted" type="abstract operation">
26+ <h1>
27+ IsAccepted (
28+ _proposal_: an ECMAScript language value
29+ ): a Boolean
30+ </h1>
31+ <dl class="header">
32+ <dt>description</dt>
33+ <dd>Tells you if the proposal was accepted</dd>
34+ </dl>
35+ <emu-alg>
36+ 1. If _proposal_ is not a String, or is not accepted, return *false*.
37+ 1. Return *true*.
38+ </emu-alg>
39+ </emu-clause>
You can’t perform that action at this time.
0 commit comments