Edit It: Copy an array's values into a new array
This code shows how to use Object.values() in JavaScript to copy an array's values into a new array.
See it on StackBlitzThis code shows how to use Object.values() in JavaScript to copy an array's values into a new array.
See it on StackBlitz