I need help with manipulating an array containing nested arrays. Here's an example:
const arr = [[red,green],[house,roof,wall]]
Is there a method to combine the nested arrays so that the output is formatted like this?
red house, red roof, red wall, green house, green roof, green wall