From 5c9e2e41e11ece9353dcdeebc5d8570664944c6b Mon Sep 17 00:00:00 2001 From: Madhu Ranjan Date: Sun, 3 Nov 2024 19:04:57 -0500 Subject: [PATCH] docs: fix example for pipe operator precedence by removing extra parenthesis (#58488) PR Close #58488 --- adev/src/content/guide/templates/pipes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adev/src/content/guide/templates/pipes.md b/adev/src/content/guide/templates/pipes.md index 1ea151c0e3f..98caab3573b 100644 --- a/adev/src/content/guide/templates/pipes.md +++ b/adev/src/content/guide/templates/pipes.md @@ -138,7 +138,7 @@ The pipe operator has lower precedence than other binary operators, including `+ ```angular-html -{{ (firstName + lastName | uppercase }} +{{ firstName + lastName | uppercase }} ``` The pipe operator has higher precedence than the conditional (ternary) operator.