JS pętla tablica wstecz
let arr = [1, 2, 3];
arr.slice().reverse().forEach(x => console.log(x))
Friendly Hawk
let arr = [1, 2, 3];
arr.slice().reverse().forEach(x => console.log(x))
const array = ["a", "b", "c"];
for (const str of array.reverse()) {
console.log(str)
}