Skip to content

Commit 6f68eae

Browse files
thorn0mhevery
authored andcommitted
docs: more precise docs for template statement syntax (angular#34348)
PR Close angular#34348
1 parent bde4cd7 commit 6f68eae

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

aio/content/guide/template-syntax.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -237,16 +237,15 @@ You're free to change anything, anywhere, during this turn of the event loop.
237237

238238
Like template expressions, template *statements* use a language that looks like JavaScript.
239239
The template statement parser differs from the template expression parser and
240-
specifically supports both basic assignment (`=`) and chaining expressions
241-
(with <code>;</code> or <code>,</code>).
240+
specifically supports both basic assignment (`=`) and chaining expressions with <code>;</code>.
242241

243-
However, certain JavaScript syntax is not allowed:
242+
However, certain JavaScript and template expression syntax is not allowed:
244243

245244
* <code>new</code>
246245
* increment and decrement operators, `++` and `--`
247246
* operator assignment, such as `+=` and `-=`
248-
* the bitwise operators `|` and `&`
249-
* the [template expression operators](guide/template-syntax#expression-operators)
247+
* the bitwise operators, such as `|` and `&`
248+
* the [pipe operator](guide/template-syntax#pipe)
250249

251250
### Statement context
252251

0 commit comments

Comments
 (0)