Working with shift/unshift/pop/push/sort/reverse/slice