Can't map grouped array in Javascript

后端 未结 0 950
生来不讨喜
生来不讨喜 2021-02-08 17:48

I grouped an array using reduce. But I can\'t list array with map function. It says .map is not a function.

const grouped = courses.reduce((objectsByKeyValue, obj         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题