Put in order · Angular course · Module 1: Introduction to Angular
Declaring a variable with a type
Arrange in one line the correct declaration of a variable with a string type:
Items to put in order
- = 'Musashi';
- const
- name:
- string
Show the answer
Correct order:
- const
- name:
- string
- = 'Musashi';