Watch out that querySelectorAll returns a NodeList object, whereas $$ in the console returns an array.
So if you're used to call all the sweet array prototype methods, you might fall short!
Solution: wrap everything in Array.from.
Thanks for reminding us :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.