Javascript - pull values of an element with matching property in one array and save to another array -


Send me 2 arrays, sendInstalls and sendUsers. Both arrays have a property called objId with values ​​matching two arrays, arrays are not sorted in a particular order

What are your requirements?

  1. For each element of the sendUsers array, find the element in the sendInstalls array with a matching ObjId property
  2. Return the value of the DEVTOKEN property of that element in sendInstalls
  3. I tried the following:

     
    
    
    

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

asp.net mvc - How to attach sql database to a javascript graph -

c# - How to know the number of Threads created and limit the Tasks accordingly -