I have two arrays. And I use filter() to compare and bring me the value that is equal in both.
$(array1).filter(array2);
In the console the value appears like that: http://prntscr.com/bkqkd7.
How do I get the value, the string from that object. What does it mean the "0" in the console?
0is the first element of the array. Also you can see the length is1. So it is an array and its elements being displayed.