DEV Community

Discussion on: A Comprehensive Guide to JavaScript - Part 4 - Arrays

 
kgprajwal profile image
Prajwal

Yes! Just arr.slice() will reproduce the original array.