Skip to content

Commit

Permalink
Editorial: reorder step in GetTemplateObject (#1958)
Browse files Browse the repository at this point in the history
  • Loading branch information
devsnek authored and ljharb committed Apr 22, 2020
1 parent f3c2860 commit 731fc79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -13214,12 +13214,12 @@ <h1>Runtime Semantics: ArgumentListEvaluation</h1>
<h1>Runtime Semantics: GetTemplateObject ( _templateLiteral_ )</h1>
<p>The abstract operation GetTemplateObject takes argument _templateLiteral_ (a Parse Node). It performs the following steps when called:</p>
<emu-alg>
1. Let _rawStrings_ be TemplateStrings of _templateLiteral_ with argument *true*.
1. Let _realm_ be the current Realm Record.
1. Let _templateRegistry_ be _realm_.[[TemplateMap]].
1. For each element _e_ of _templateRegistry_, do
1. If _e_.[[Site]] is the same Parse Node as _templateLiteral_, then
1. Return _e_.[[Array]].
1. Let _rawStrings_ be TemplateStrings of _templateLiteral_ with argument *true*.
1. Let _cookedStrings_ be TemplateStrings of _templateLiteral_ with argument *false*.
1. Let _count_ be the number of elements in the List _cookedStrings_.
1. Assert: _count_ &le; 2<sup>32</sup> - 1.
Expand Down

0 comments on commit 731fc79

Please sign in to comment.