📌  相关文章
📜  检查属性是否在数组 javascript 代码示例中具有值

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

代码示例2
const magenicVendorExists =  vendors.reduce((accumulator, vendor) => (accumulator||vendor.Name === "Magenic"), false);