DEV Community

Discussion on: How to remember JavaScript's shift() and unshift() ?

Collapse
 
miteshkamat27 profile image
Mitesh Kamat

Never tried this: > arr.shift(2) .
I am glad I read your post :P