convert it
const arr = Object.values(obj)
We don't know 'what' he want to push inside array. He may need to iterate over object and push only some objects inside root into array
Обсуждают сегодня