JavaScript Convertir clases en matrices
const boxes = Array.from(document.getElementsByClassName('box'));
Lucky Locust
const boxes = Array.from(document.getElementsByClassName('box'));
const boxArray = [...document.getElementsByClassName('box')];