Answers for "Iterating through document elements using for each in javascript"

0

Iterating through document elements using for each in javascript

let a = document;	
let aArr = Array.from(a.all);
aArr.forEach(item => {
	console.log(item)
})

console.log(aArr)
Posted by: Guest on May-07-2021

Code answers related to "Iterating through document elements using for each in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language