When we need to copy an array, we often time used slice. But with ES6, you can also use the spread operator to duplicate an array... https://www.samanthaming.com/tidbits/35-es6-way-to-clone-an-array * @hakankaraduman * @hakankaraduman * CJ J
slice
See All 299 Episodes of "n_sanderson12 on Narro"