From f125a9626bfacd1e867d2428efe2a1db4d4052cf Mon Sep 17 00:00:00 2001 From: "Daniel D. Beck" Date: Wed, 15 Sep 2021 22:18:22 -0700 Subject: [PATCH] Editorial: disambiguate `with` statement's status (#2441) Co-authored-by: Daniel D. Beck Co-authored-by: Michael Ficarra --- spec.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/spec.html b/spec.html index 64d9154e11..a0488c1325 100644 --- a/spec.html +++ b/spec.html @@ -21933,8 +21933,12 @@

Runtime Semantics: Evaluation

- +

The `with` Statement

+ +

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 destructuring assignment.

+
+

Syntax

WithStatement[Yield, Await, Return] :