L
L
lavezzi12017-08-31 13:03:11
JavaScript
lavezzi1, 2017-08-31 13:03:11

Is there a function that compares id and returns a new array?

Hello. Is there a function already implemented that looks at the id of each item in people.devices_ids, compares it with the id in devices, and if it matches, it returns a new array where all objects from devices lie in people.devices.
https://jsfiddle.net/vuywdd0x/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
abberati, 2017-08-31
@lavezzi1

Until you asked, it wasn't.
Now there is .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question