Skip to content

Commit

Permalink
Editorial: disambiguate with statement's status (#2441)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>
Co-authored-by: Michael Ficarra <mficarra@shapesecurity.com>
  • Loading branch information
2 people authored and ljharb committed Sep 16, 2021
1 parent 0bd3ace commit f125a96
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -21933,8 +21933,12 @@ <h1>Runtime Semantics: Evaluation</h1>
</emu-clause>
</emu-clause>

<emu-clause id="sec-with-statement">
<emu-clause id="sec-with-statement" legacy>
<h1>The `with` Statement</h1>
<emu-note>
<p>Use of the Legacy `with` statement is discouraged in new ECMAScript code. Consider alternatives that are permitted in both strict mode code and non-strict code, such as <emu-xref href="#sec-destructuring-assignment">destructuring assignment</emu-xref>.</p>
</emu-note>

<h2>Syntax</h2>
<emu-grammar type="definition">
WithStatement[Yield, Await, Return] :
Expand Down

0 comments on commit f125a96

Please sign in to comment.