Beginner TypeScript
Q9 / 100

Which symbol marks a property as optional in an interface?

Correct! Well done.

Incorrect.

The correct answer is B) ?

B

Correct Answer

?

Explanation

Appending "?" after a property name, like "name?: string", makes that property optional.

Progress
9/100