Answers for "how to make a javascript for loop"

2

how to make a javascript for loop

var tops = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144];
for (let i = 0; i < tops.length; i++) {
  document.write(tops[i] + "tops");
}
Posted by: Guest on October-19-2020

Code answers related to "how to make a javascript for loop"

Code answers related to "Javascript"

Browse Popular Code Answers by Language