Java Shift Array Elements Javascript Documentation W3schools