DEV Community

loading...

Discussion on: What’s your alternative solution? Challenge #23

Collapse
easrng profile image
easrng
let rotateRight=a=>[...a.slice(-1),...a.slice(0,-1)]
Forem Open with the Forem app