Skip to content

Commit

Permalink
Editorial: fixes from #1124: spaces around operator; Let -> Set (#1714)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdyck authored and ljharb committed Oct 2, 2019
1 parent bdcd531 commit f8e028b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -12654,7 +12654,7 @@ <h1>Runtime Semantics: ArrayAccumulation</h1>
<emu-grammar>ElementList : Elision? AssignmentExpression</emu-grammar>
<emu-alg>
1. If |Elision| is present, then
1. Let _nextIndex_ be the result of performing ArrayAccumulation for |Elision| with arguments _array_ and _nextIndex_.
1. Set _nextIndex_ to the result of performing ArrayAccumulation for |Elision| with arguments _array_ and _nextIndex_.
1. ReturnIfAbrupt(_nextIndex_).
1. Let _initResult_ be the result of evaluating |AssignmentExpression|.
1. Let _initValue_ be ? GetValue(_initResult_).
Expand All @@ -12664,28 +12664,28 @@ <h1>Runtime Semantics: ArrayAccumulation</h1>
<emu-grammar>ElementList : Elision? SpreadElement</emu-grammar>
<emu-alg>
1. If |Elision| is present, then
1. Let _nextIndex_ be the result of performing ArrayAccumulation for |Elision| with arguments _array_ and _nextIndex_.
1. Set _nextIndex_ to the result of performing ArrayAccumulation for |Elision| with arguments _array_ and _nextIndex_.
1. ReturnIfAbrupt(_nextIndex_).
1. Return the result of performing ArrayAccumulation for |SpreadElement| with arguments _array_ and _nextIndex_.
</emu-alg>
<emu-grammar>ElementList : ElementList `,` Elision? AssignmentExpression</emu-grammar>
<emu-alg>
1. Let _nextIndex_ be the result of performing ArrayAccumulation for |ElementList| with arguments _array_ and _nextIndex_.
1. Set _nextIndex_ to the result of performing ArrayAccumulation for |ElementList| with arguments _array_ and _nextIndex_.
1. ReturnIfAbrupt(_nextIndex_).
1. If |Elision| is present, then
1. Let _nextIndex_ be the result of performing ArrayAccumulation for |Elision| with arguments _array_ and _nextIndex_.
1. Set _nextIndex_ to the result of performing ArrayAccumulation for |Elision| with arguments _array_ and _nextIndex_.
1. ReturnIfAbrupt(_nextIndex_).
1. Let _initResult_ be the result of evaluating |AssignmentExpression|.
1. Let _initValue_ be ? GetValue(_initResult_).
1. Let _created_ be ! CreateDataPropertyOrThrow(_array_, ! ToString(_nextIndex_), _initValue_).
1. Return _nextIndex_+1.
1. Return _nextIndex_ + 1.
</emu-alg>
<emu-grammar>ElementList : ElementList `,` Elision? SpreadElement</emu-grammar>
<emu-alg>
1. Let _nextIndex_ be the result of performing ArrayAccumulation for |ElementList| with arguments _array_ and _nextIndex_.
1. Set _nextIndex_ to the result of performing ArrayAccumulation for |ElementList| with arguments _array_ and _nextIndex_.
1. ReturnIfAbrupt(_nextIndex_).
1. If |Elision| is present, then
1. Let _nextIndex_ be the result of performing ArrayAccumulation for |Elision| with arguments _array_ and _nextIndex_.
1. Set _nextIndex_ to the result of performing ArrayAccumulation for |Elision| with arguments _array_ and _nextIndex_.
1. ReturnIfAbrupt(_nextIndex_).
1. Return the result of performing ArrayAccumulation for |SpreadElement| with arguments _array_ and _nextIndex_.
</emu-alg>
Expand Down

0 comments on commit f8e028b

Please sign in to comment.