From ac190f4544aa7ab27bd5cee15f06462247a40bad Mon Sep 17 00:00:00 2001 From: Matthieu Riegler Date: Fri, 9 May 2025 22:40:48 +0200 Subject: [PATCH] docs: fix note formatting about optionam chaining (#61251) PR Close #61251 --- adev/src/content/guide/templates/expression-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adev/src/content/guide/templates/expression-syntax.md b/adev/src/content/guide/templates/expression-syntax.md index d704531d25d..ce01924d9f6 100644 --- a/adev/src/content/guide/templates/expression-syntax.md +++ b/adev/src/content/guide/templates/expression-syntax.md @@ -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