let numInArray: number[ ] = [ ]; Gives this ERROR ” SyntaxError: Unexpected token ‘:’ “
The error "SyntaxError: Unexpected token ':'" is indicating that the JavaScript interpreter is encountering a colon (':') in a place where it is not expected. In this case, it appears…
