Beginner TypeScript
Q7 / 100

How do you define an array of strings in TypeScript?

Correct! Well done.

Incorrect.

The correct answer is A) string[] or Array<string>

A

Correct Answer

string[] or Array<string>

Explanation

TypeScript supports both string[] and the generic Array<string> syntax to describe arrays of strings.

Progress
7/100