-4

Given an object of arrays and i have to iterate through every each value of every array in this object enter image description here

Kush Cloud
  • 13
  • 4

1 Answers1

0

(UPDATE) (thanks @pilchard)

Try this (replace obj with your own object):

Object.values(obj).forEach((array) => {
  array.forEach((value) => {
    console.log(value);
    // Code for each value of each array
  });
});
Hedi Zitouni
  • 179
  • 1
  • 8