Create a new array, traverse the current array, and determine the length attribute of each item. If it is not greater than 1, put it into the array. If it is greater than 1, split('') and then concat it into the new array. Then just return the new array.
As The Code Do:
Create a new array, traverse the current array, and determine the length attribute of each item. If it is not greater than 1, put it into the array. If it is greater than 1, split('') and then concat it into the new array. Then just return the new array.
https://jsfiddle.net/1yqzea2f/
Another reference