Lingkarkan melalui string naskah
const str = "Hello Grepper!";
const chars = [...str];
chars.forEach((c, i) => console.log(c, i));
elcharitas
const str = "Hello Grepper!";
const chars = [...str];
chars.forEach((c, i) => console.log(c, i));