Quiz: Exploring the Type System
Test your understanding of the type system in TypeScript.
We'll cover the following...
We'll cover the following...
Type System in TypeScript
1.
What is the purpose of the any
type in TypeScript?
A.
It allows us to define a variable without a type.
B.
It allows us to generate variables with the same name but in a different scope.
C.
It allows us to assign anything to the variable of type any
.
D.
It allows us to make temporary variables that will be discarded later.
1 / 6