How can I convert the elements of the array into another array?
let a = [2, 4, 0, 8, 9, 15]
and the result will be :
a = [[2],
let a = [2, 4, 0, 8, 9, 15]; let b = a.map((item) => [item]);