TIL: document.querySelectorAll returns a NodeList
Modern browsers have the native selector engine document.querySelectorAll
which is really useful for easily finding elements. I had assumed that it returned an Array but I've just found out that I was wrong and it returns a NodeList.