Well, these should be three separate topics but I just want to do a quick sum-up of what I learned today. Shallow Copy shallow copy only copy one layer of the original array, what I mean by one layer is like that: const oriArr = ["1","2","3"];
const copyArr = oriArr.slice(); …