@ajithkrr OK, if you follow this example, the console will print the following:
The matching results are
[{name: 'happy', value: '1'}, {name: 'sad', value: '2'}]
Which is the object that has a matching value in the first array. ![]()
![]()
If you add other objects into the second array, they will not appear in the printed results.