Yngvarr

Generation

generate functionSat, 25 Mar 2023

table to array

function objToArray(obj){ var newArray =[]; for (var key in obj) { newArray.push(obj[key]); } return newArray; } objToArray({a: 1, b: 2});

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant