© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
A Codearla
Nice post! I think you forgot to mention that both pop and shift returns the value removed from the list. This is very useful for use arrays as stacks or queues.
Mohamed Ibrahim
Software Engineer.
My bad, thank you for sharing :)