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 -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -