I\'m trying to move the position of the first item of an array at the press of a button, I tried using array.push(array.shift()); but it doesn\'t work
array.push(array.shift());
co