8 ms·
You don't need to convert querySelectorAll to an array, you can directly iterate it, or use forEach.
by xPaw 2y ago
You don't need to convert querySelectorAll to an array, you can directly iterate it, or use forEach.
- meow_catrix 2y agoNot if you want to map or reduce it.