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
14
14
<p>This is an algorithm:</p>
15
15
<emu-alg>
16
16
1. Let _proposal_ be *undefined*.
17
- 1. If IsAccepted(_proposal_), then
17
+ 1. If IsAccepted(_proposal_) is *true* , then
18
18
1. Let _stage_ be *0*<sub>ℤ</sub>.
19
19
1. Else,
20
20
1. Let _stage_ be *-1*<sub>ℤ</sub>.
21
21
1. Return ? ToString(_stage_).
22
22
</emu-alg>
23
23
</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