REUVENT REISTER -ELEMENTEN IN ARRAY REUVER

const a = [1, 2, 3];

console.log(a); // [1, 2, 3]

a.reverse();

console.log(a); // [3, 2, 1]

Grieving Gharial