Dokument QuerySelectorall i mapa Javacript

[...document.querySelectorAll('div')].map(x => console.log(x.innerHTML))
Excited Eland