js queryselectorall map code example
Example: document queryselectorall and map javacript
[...document.querySelectorAll('div')].map(x => console.log(x.innerHTML))
[...document.querySelectorAll('div')].map(x => console.log(x.innerHTML))