const list = document.querySelector('.myList'); // returns HTMLCollection const myArray = Array.from(list.children);