📜  js 数组包含对象 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:01.545000             🧑  作者: Mango

代码示例2
let hasMagenicVendor = vendors.some( vendor => vendor['Name'] === 'Magenic' )