Copy Arrays by Value in JavaScript: Shallow and Deep Copies | CodeTrail