I have a code like this:
    balls_delivery1 = [6, 7, 8, 6, 6] // balls in a over(cricket match)
    // above 6 balls in 0th over so the counter(key) below will be till 0.6 
     //and then 1.1 to 1.7 and so on
    deliveries1 = [{
    '0.1': {    // 0.1 is 0th over 1st ball
      batsman: 'MEK Hussey',
      bowler: 'IK Pathan',
      non_striker: 'S Badrinath',
      runs: [Object]
    }
  },{}... so on many objects]
     
for (i=0; i<balls_delivery1.length; i++){
     for (j=0; j<balls_delivery1[i]; j++){
        // i is over j is ball
         console.log(`${i} over ${j+1} ball , ${i}.${j+1}`);
         console.log(Object.values(deliveries1[j])[0]);
         // I want to show the above lines every 5 sec
      }
  }
Please do help, I could not solve it from ans already on stackoverflow.
 
     
    