Beginner TypeScript
Q13 / 100

Which TypeScript feature allows enumerating a fixed set of named constants?

Correct! Well done.

Incorrect.

The correct answer is A) enum

A

Correct Answer

enum

Explanation

enum defines a set of named constants, e.g. "enum Direction { Up, Down, Left, Right }".

Progress
13/100