Answers for "how to use loop for cases in js"

5

javascript loop

var colors=["red","blue","green"];
for(let color of colors){
  console.log(color)
}
Posted by: Guest on December-06-2019

Code answers related to "how to use loop for cases in js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language