JS DomtokenList para a Array

Array.from(nodeList)
florinrelea