0
I am writing a code and, at the time of going through the array, vscode has error in the first line of my is, but I can’t find the error, and I don’t know if it is vscode error either. Code below:
const array = [[09, 13, 19, 24, 29, 46],[07, 15, 24, 41, 48, 50]];
for(let i = 0; i < array.length; i++){
for(let j = 0; j < array[i].length; j++){
}
}
In this case, the error is set to "for (Let i = 0; i < array.length; i++){"
can see some error?
Which error appears?
– Lucas Módolo
Expression expected.
– Thiago Caldeira
The error then is not pq has nothing within the 2° for?
– Lucas Módolo
I have already placed the argument inside the second for and the error persists. The keyword Let is underlined on this line. I don’t know if there’s anything wrong with the keyword.
– Thiago Caldeira
Man, I put in my Vscode but it shows no error, put to run and it worked
– Lucas Módolo
Then it must be my msm vscode, I will see if it is updated, if it is not I will reinstall. There is no other alternative. Vlw ;)
– Thiago Caldeira
tries to reinstall the extension
– Lucas Módolo