Quiz: Exploring the Type System

Test your understanding of the type system in TypeScript.

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.

Question 1 of 60 attempted

Get hands-on with 1200+ tech skills courses.