Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

93
Views
How to compare strings from two arrays of objects, and find duplicate in Javascript
var array1 = [
  {
    id: 1,
    value: 'value',
    children: ["string1", "string2","string3"]
  },
  {
    id: 'child2',
    value: 'value',
    children: ["string1","string9"]
  }
]

var array2 = [
  {
    id: 1,
    value: 'value',
    children: ["string1", "string2","string"]
  },
  {
    id: 'child2',
    value: 'value',
    children: ["string2","string8"]
  }
]

How to use .filter and .some to find number of duplicates? AND How to use Lodash?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!