To manipulate the result
string, you will use a different type of loop. Specifically, a for...of
loop, which iterates over each item in an iterable object and temporarily assigns it to a variable.
The syntax for a for...of
loop looks like:
Exemplo de código
for (const value of iterable) {
}
Note that you can use const
because the variable only exists for a single iteration, not during the entire loop.
Create a for...of
loop to iterate through your rows
array, assigning each value to a row
variable.
Verifique seu código (Ctrl + Enter)
Desculpe, seu código não passou nos testes. Tente novamente.
Your for...of
loop body should be empty.
Note that you can use const
because the variable only exists for a single iteration, not during the entire loop.
Create a for...of
loop to iterate through your rows
array, assigning each value to a row
variable.
RedefinirAjuda
// executando testes 6. Your
for...of
loop body should be empty. // testes concluídos
Não entendi o que fazer.
Navegado para a Etapa 41 Aprovado