News for hackers. Stuff that matters.
Re:TinyJS – Shorten JavaScript QuerySelect with $ and $$ by xPaw on Wednesday October 02, 2024 @04:15PM (#41724596)
You don't need to convert querySelectorAll to an array, you can directly iterate it, or use forEach.
Re:TinyJS – Shorten JavaScript QuerySelect with $ and $$ by meow_catrix on Wednesday October 02, 2024 @04:23PM (#41724666)
Not if you want to map or reduce it.