var collection = document.querySelectorAll('*'); alert (collection instanceof Array); alert (collection.constructor.name);