how to use array method with nodelist javascript code example Example: nodelist to array Array.from(nodelist);