const word = "ABC";const letters = word.split("");const array = [];letters.forEach((letter1,index1) => { letters.forEach((letter2,index2) => { if (!array[index1]) { array[index1] = []; } array[index1][index2] = letter1+letter2;&nb...