Problem Statement
Choose the correct explicit variable declaration:
Explanation
Use a colon after the variable name to add a type annotation. `let` is block-scoped and reassignable; `const` is block-scoped and not reassignable; `var` is function-scoped and generally avoided due to hoisting quirks.
Code Solution
SolutionRead Only
let count: number = 0; const name: string = 'Ava'; var legacy: boolean = false; // function-scoped
