Skip to content
RED SAGSkills
easy5 pts · first answer countsjavascripttypescript

Pushing to a readonly array

What does TypeScript say about the second line?

const codes: readonly string[] = ["IN", "AE"]
codes.push("SA")
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions