Answers for "transform a list of queryselectorall to an array"

2

nodelist to array

Array.from(nodelist);
Posted by: Guest on July-22-2020
1

javascript querySelectorAll to array

const spanList = [...document.querySelectorAll("span")];
Posted by: Guest on July-25-2020

Code answers related to "transform a list of queryselectorall to an array"

Code answers related to "Javascript"

Browse Popular Code Answers by Language