DEV Community

Discussion on: Snail Array Challenge Solution JavaScript

Collapse
 
pavlikovinc profile image
George • Edited

Thx. I used so many loops in my solution at first, but your solution looks good.

But you have a little mistake in the second solution. In line where you finally reverse the whole array it shoud be arr.reverse() instead of array.reverse(). It seems you got a divergence with code from video again) Have a nice day