Q:

How to split strings in an array into arrays of characters

I'm making a simple program that jumbles up the letters in words. I want to split every word into an array, within the existing one. i.e.
    ['hello','my','name','is','Anders']

    [['h','e','l,'l','o'],['m','y'],['n','a','m','e'],['i','s'],['A','n','d','e','r','s']

So how would I go about doing this?

A:

Here:

var arr = ['hello','my','name','is','Anders', ''];
var res = arr.map(e => e.split(""));

console.log(res)

