3 ms·
also with querySelector you can use queries like > ids.map(id=> `#test${id}`).join(" , ") or > `[id^="test"]` to get all elements that have an id that start
by afiori 5y ago
also with querySelector you can use queries like
> ids.map(id=> `#test${id}`).join(" , ")
or
> `[id^="test"]`
to get all elements that have an id that starts with test