Put in order · Angular course · Module 2: Components

@let Variable Declaration

Arrange the single-line tokens to declare a variable in the template: @let fullName = firstName;

Items to put in order

  • fullName
  • =
  • @let
  • firstName;
Show the answer

Correct order:

  1. @let
  2. fullName
  3. =
  4. firstName;