最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Check if two arrays have an object with the same property - Stack Overflow

programmeradmin2浏览0评论

Here's my goal: pare two objects and figure out if there is 1 or more items in mon. If there are 1 or more in mon, return true otherwise (no items in mon), return false.

Current issues: I'm trying to use the .some() method with 1 object from an API and 1 object that's local, but a bit confused why it's not working...any ideas? It should return true since John is in both objects, but it returns false

发布评论

评论列表(0)

  1. 暂无评论