How to convert a DOM node list to an array in Javascript? code example Example: nodelist to array Array.from(nodelist);