Cloning an Array in JavaScript: A Cautionary Tale
In JavaScript, don’t do this:   let a = [1, 2, 3] let b = a     Got it? Okay cool, we’re done here…pa...
Tags: javascript, arrays