Convert HTMLCollection into an array

PHOTO EMBED

Sun Dec 19 2021 19:05:41 GMT+0000 (UTC)

Saved by @bapateprachee #javascript

const list = document.querySelector('.myList'); // returns HTMLCollection

const myArray = Array.from(list.children);
content_copyCOPY