var arr = [1, 2, 3, 4, 5]; arr.slice().reverse() .forEach(function(item) { console.log(item); });
let arr = [1, 2, 3]; arr.slice().reverse().forEach(x => console.log(x))