Array Manipulations and Cyclical Simulation with JavaScript | CodeSignal Learn