Contact: aviboots(AT)netvision.net.il
42,690 questions
55,449 answers
573 users
let arr = [1, 2, 3, 4, 5, 6, 7, 8]; arr.reverse(); console.log(arr); /* run: [ 8, 7, 6, 5, 4, 3, 2, 1 ] */