I want to put array elements into another array nested like below. How to do that? Thank you.
let myArr = ["A", "B", "C", "D", "E"];
let func = (myArr) => {
//some magic here
return result; //result should be [["A"], ["B"], ["C"], ["D"], ["E"]]
}