create array out of objects javascript code example
Example 1: how to convert object to array in javascript
const propertyValues = Object.values(person);
console.log(propertyValues);
Example 2: js get elements in array from x to y
arr.slice([início[,fim]])