Convert dom NodeList to Array of nodes

var nodesArray = [].slice.call(document.querySelectorAll("div"));

This tip was found here

Written on May 18, 2018
Licence Creative Commons
Ce(tte) œuvre est mise à disposition selon les termes de la Licence Creative Commons Attribution 4.0 International.