2022-11-28
~4 min read
615 words
I was recently using the slice method to copy an array and I ran into a few difficulties understanding why my copy was not shallow. From the…