mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: fix note formatting about optionam chaining (#61251)
PR Close #61251
This commit is contained in:
committed by
Jessica Janiuk
parent
08bf41edb8
commit
ac190f4544
@@ -77,7 +77,7 @@ Angular expressions additionally also support the following non-standard operato
|
||||
| Optional chaining\* | `someObj.someProp?.nestedProp` |
|
||||
| Non-null assertion (TypeScript) | `someObj!.someProp` |
|
||||
|
||||
\*NOTE: Optional chaining behaves differently from the standard JavaScript version in that if the left side of Angular’s optional chaining operator is `null` or `undefined`, it returns `null` instead of `undefined`.
|
||||
NOTE: Optional chaining behaves differently from the standard JavaScript version in that if the left side of Angular’s optional chaining operator is `null` or `undefined`, it returns `null` instead of `undefined`.
|
||||
|
||||
### Unsupported operators
|
||||
|
||||
|
||||
Reference in New Issue
Block a user