I need assistance with iterating through the following array
const test = [(18, 20), (45, 2), (61, 12), (37, 6), (21, 21), (78, 9)];
however, when I output it, I get this result:
console.log(test); //[20, 2, 12, 6, 21, 9]
Kindly advise me on the correct way to iterate over this array.