const array = ["0", "1", "2", "3", "4", "5", "6"]; array.forEach((data, key) => { console.log("Numara : " + key + " Veri : " + data); });