Tetst
let arr = [1, 2, 3];
arr.slice().reverse().forEach(x => console.log(x))
Run code snippet
Roaming Coder
let arr = [1, 2, 3];
arr.slice().reverse().forEach(x => console.log(x))
Run code snippet