Yngvarr

Generation

generate functionSat, 25 Mar 2023

table td to array

function toArray(tds) { let arr = []; for (let i = 0; i < tds.length; i++) { arr[i] = tds.item(i).innerText; } return arr; }

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant