Sorry, I should have added more context to my post. I edited my post and added a link to the MDN definition of the flatMap function.
Sorry, I should have added more context to my post. I edited my post and added a link to the MDN definition of the flatMap function.