Posted on June 9, 2016
var nodesArr = Array.prototype.slice.call(document.querySelectorAll("div")); // "true" array of DIVs var argsArr = Array.prototype.slice.call(arguments); // changes arguments to "true" array
Posted on June 9, 2016
var nodesArr = Array.prototype.slice.call(document.querySelectorAll("div")); // "true" array of DIVs var argsArr = Array.prototype.slice.call(arguments); // changes arguments to "true" array
Recent Comments