JSFiddle - React, Tailwind, and code Playground
by clauswilke
JavaScript
let x = [[1, 2, 3], [4, 5, 6]]
let y = x.map(a => "[" + a.join(', ') + "]")
let z = "[" + y.join(', ') + "]"
console.log(z)
by clauswilke
let x = [[1, 2, 3], [4, 5, 6]]
let y = x.map(a => "[" + a.join(', ') + "]")
let z = "[" + y.join(', ') + "]"
console.log(z)