4 ms·
If you are entering this into the browser console, you can use $$() as shorthand for document.querySelectorAll(), with chromium-based browsers at least. As a bo
by ficklepickle 5y ago
If you are entering this into the browser console, you can use $$() as shorthand for document.querySelectorAll(), with chromium-based browsers at least. As a bonus, it returns an array so you can map/filter.
- chrismorgan 5y agoFirefox dev tools also have $$ be document.querySelectorAll as Array.