Skip to main content
Frontend
Interviews
.dev
Problems
740. TypeScript readonly Array Operations
Easy
•
...
Select the best answer.
const
xs
:
readonly
number
[
]
=
[
1
,
2
,
3
]
;
Which is disallowed?
xs.push(4)
xs.slice(1)
xs.map(x=>x)
xs.includes(2)
Submit Answer
Reveal Answer
Select an option and submit your answer.
Next Problem
Auto-advance on correct answer