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

mysql - How to enter php data into a html multiple select box -

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

c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -