DEV Community

Discussion on: How to shift array position in vanilla JavaScript

Collapse
 
wolfhoundjesse profile image
Jesse M. Holmes

Everyone is talking about your code, and I'm stuck appreciating this beautiful gem:

Not ideal (unless you're Arya).

Collapse
 
kmelve profile image
Knut Melvær

Thank you for noticing!