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