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