Skip to main content
Frontend
Interviews
.dev
Problems
733. TypeScript as const Tuple
Medium
•
...
Select the best answer.
const
pair
=
[
'ok'
,
200
]
as
const
;
How is pair inferred?
(string|number)[]
string[]
mutable tuple
readonly literal tuple
Submit Answer
Reveal Answer
Select an option and submit your answer.
Next Problem
Auto-advance on correct answer