How to check if a property of an array of javascript objects is contained in an array of objects?

后端 未结 0 1241
萌比男神i
萌比男神i 2021-01-03 05:05

I have two arrays:

const issues  = [{ id: \'foo\', state: { label: \'bar\'} }]
const states  = [{ label: \'bar\' }, { label: \'baz\' }]

How d

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