MediumUnderstandJavaScript & TypeScriptmultiple_choice

In TypeScript, what does the `never` type represent?

Understand Tests comprehension and ability to explain concepts.

Answer Options

AA function that returns null
BA function that returns undefined
CA value that can never occur — e.g., a function that always throws
DAn optional parameter

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 20+ more JavaScript & TypeScript questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the JavaScript & TypeScript topic (Programming Languages).

More JavaScript & TypeScript Questions