how to loop elements in javascript for of loop

Solutions on MaxInterview for how to loop elements in javascript for of loop by the best coders in the world

showing results for - "how to loop elements in javascript for of loop"
Lya
02 Mar 2017
1const fakeImages = document.querySelectorAll(".fake-image");	for (const fakeImage of fakeImages) {	  console.log('fakeImage: ', fakeImage);	}
similar questions