how to convert collection to array in js code example
Example: collection to array javascript
var coll = document.getElementsByTagName('div');
var arr = Array.prototype.slice.call( coll, 0 );
var coll = document.getElementsByTagName('div');
var arr = Array.prototype.slice.call( coll, 0 );