Converts all manner of array-like objects to true JavaScript arrays

xtag.toArray(ARRAY_LIKE_OBJECT)

ArgumentsTypeDescription
ARRAY_LIKE_OBJECTSpecial array-like objectsObjects like: NodeList, HTMLCollection, DOMTokeList, etc.
var childArray = xtag.toArray(myElement.children);