const list = [1,2,3,4,5]; list.reverse(); // It changes the original array console.log('reversed:', list); // expected output: "reversed:" Array [5, 4, 3, 2, 1]