http://beecoder.org/uz/javascript/compare-elements-of-two-arrays-in-javascript
Ikki massivning elementlarini solishtiring, JavaScript