let arr = ["A", "B", "C"];
console.log(arr[0]); //A
for (let item of Object.keys(arr)) {
console.log(item); // 0 1 2
}
for (let item of Object.values(arr)) {
console.log(item); // A B C
}
for (let temp of Object.entries(arr)) {
console.log(temp); //(2) ['0', 'A'] ['1', 'B'] ['2', 'C']
}