Put in order · Angular course · Module 2: Components
The @switch Block Syntax
Arrange the lines of the @switch block in the correct order (top to bottom):
Items to put in order
- @case ('master') { ... }
- @default { ... }
- }
- @switch (rank) {
Show the answer
Correct order:
- @switch (rank) {
- @case ('master') { ... }
- @default { ... }
- }