SyntaxFix
Write A Post
Hire A Developer
Questions
In most cases you have to initialize the array,
let list: number[] = [];