Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję+ 2
What is the difference between shift and unshift ?
This question is based in JavaScript but not so sure in other programs but an really eager to know more about this terms shift and unshift
2 odpowiedzi
+ 2
Shift takes the last element and unshift the first and pops it
+ 1
Thanks Nico it really helps tho