Learn how to resolve a nested array object using JavaScript's map function.