January 6, 2024
#angular #angular17 #switch #newSyntax #frontend
https://lnkd.in/gyFq52hb
The correct answer is C. The @switch block in Angular 17 requires curly braces around each case and default block, and uses the @default keyword to specify the default case³. The other options are either missing the curly braces, the @default keyword, or using a colon instead of a curly brace.