Skip to content
This repository has been archived by the owner on May 15, 2022. It is now read-only.

Commit

Permalink
Tinha esquecido de usar o for nesse exercicio
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarcon83 committed Mar 12, 2021
1 parent 0dbe62b commit e78a4c5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@
document.writeln("</span></br>");

document.write("Frutas: <span>");
listaDeCoisas.frutas.forEach(item => document.write(item + " "));
for (item of listaDeCoisas.frutas) {
document.write(item + " ");
}
document.writeln("</span></br>");

document.write("Cores: <span>");
Expand Down

0 comments on commit e78a4c5

Please sign in to comment.