js pętla przez tablicę do tyłu z foreach
let arr = [1, 2, 3];
arr.slice().reverse().forEach(x => console.log(x))
Worried Wren
let arr = [1, 2, 3];
arr.slice().reverse().forEach(x => console.log(x))