I have the following object of arrays: hoW to loop through it and get the values of test and body individually? in javascript? used 2 for loops but nothing consoles out?
myobj: {
  foo: [
    {
      test: "jhaskd",
      body: "haskjdh",
    }
  ],
  bar: [
    {
      test: "jhaskd",
      body: "haskjdh",
    }
  ],
}
 
     
     
    