Convert reduce function to work with IE

后端 未结 2 1353
小蘑菇
小蘑菇 2021-01-15 04:40

Alright, so I had some help a couple months ago with coming up with a solution to keep count of the elements in an array: Loop through multiple array and keep count of each

2条回答
  •  猫巷女王i
    2021-01-15 05:12

    Remove the de-structuring.

    cur.ProductHandlingTypes.map((obj) => obj.Name).forEach(...
    

提交回复
热议问题