mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: remove incorrectly listed operators in "Supported operators" table (Expression Syntax Guide) (#62092)
PR Close #62092
This commit is contained in:
@@ -17,7 +17,6 @@ Angular supports a subset of [literal values](https://developer.mozilla.org/en-U
|
||||
| Array | `['Onion', 'Cheese', 'Garlic']` |
|
||||
| null | `null` |
|
||||
| Template string | `` `Hello ${name}` `` |
|
||||
| Tagged template string | `` tag`Hello ${name}` `` |
|
||||
|
||||
### Unsupported literals
|
||||
|
||||
@@ -64,9 +63,6 @@ Angular supports the following operators from standard JavaScript.
|
||||
| Unary Negation | `-x` |
|
||||
| Unary Plus | `+y` |
|
||||
| Property Accessor | `person['name']` |
|
||||
| typeof | `typeof 42` |
|
||||
| void | `void 1` |
|
||||
| in | `'model' in car` |
|
||||
| Assignment | `a = b` |
|
||||
| Addition Assignment | `a += b` |
|
||||
| Subtraction Assignment | `a -= b` |
|
||||
|
||||
Reference in New Issue
Block a user