why convert a dom list to array code example Example: turn nodelist into array Array.prototype.slice.call(document.childNodes);