DEV Community

Discussion on: How to shift array position in vanilla JavaScript

Collapse
 
somedood profile image
Basti Ortiz

I mean it would be ES5 if const was var. 😂

Anyway, I like how concise it is. Three lines of code sure does look more satisfying than whatever I did, despite their similarities.