Closed k2s closed 4 years ago
Just transform it to objects:
const data = [ ['John', 35], ['Kyle', 21] ] console.log (asTable (data.map (([name, age]) => ({ name, age }))))
name age --------- John 35 Kyle 21
Just transform it to objects: