ES6 allows you to loop over an object like an array with forEach by using Object.values(object)!

let obj = {a:1, b:2, c:3};

Object.values(obj).forEach(value => {

console.log(value)

})

// logs 1, 2, 3