Skip to content

Commit d2ec9d7

Browse files
committed
docs(guide/Expressions): mention absence of bitwise operators
Closes angular#14485
1 parent 1676b84 commit d2ec9d7

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/content/guide/expression.ngdoc

+6-3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ Angular expressions are like JavaScript expressions with the following differenc
2727
* **Forgiving:** In JavaScript, trying to evaluate undefined properties generates `ReferenceError`
2828
or `TypeError`. In Angular, expression evaluation is forgiving to `undefined` and `null`.
2929

30+
* **Filters:** You can use {@link guide/filter filters} within expressions to format data before
31+
displaying it.
32+
3033
* **No Control Flow Statements:** You cannot use the following in an Angular expression:
3134
conditionals, loops, or exceptions.
3235

@@ -38,10 +41,10 @@ Angular expressions are like JavaScript expressions with the following differenc
3841

3942
* **No Object Creation With New Operator:** You cannot use `new` operator in an Angular expression.
4043

41-
* **No Comma And Void Operators:** You cannot use `,` or `void` operators in an Angular expression.
44+
* **No Bitwise, Comma, And Void Operators:** You cannot use
45+
[Bitwise](https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators),
46+
`,` or `void` operators in an Angular expression.
4247

43-
* **Filters:** You can use {@link guide/filter filters} within expressions to format data before
44-
displaying it.
4548

4649
If you want to run more complex JavaScript code, you should make it a controller method and call
4750
the method from your view. If you want to `eval()` an Angular expression yourself, use the

0 commit comments

Comments
 (0)