dev
Quizzes
Quizzes
Leaderboard
Submit a question
Add
TypeScript quiz
· 20 questions
Set type
All questions
Pick one answer
Which of these is a valid way to set a type for variable?
1
–
3
answer
←
previous
Question
16
of 20
75%
A
let name:string = 'John'
B
let name type:string = 'John'
C
let name setType:string = 'John'
←
Previous
Next question
→