Hi, please I would like to count the number of times each option is selected in the array

前端 未结 0 1019
庸人自扰
庸人自扰 2020-12-06 16:05

let FoodItems = [ { id: 1, name: "Chicken", price: 70, two: 2, three: 2, five: 2, order: 0 }, { id: 2, name: "Rice", price: 40, two: 1, three: 1, five: 2

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