Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyTypeScripttype annotationsSingle-choice MCQ

What is the inferred type of `id` (no annotation), and does the reassignment compile?

let id = 5; id = "abc";