summary: Find common elements (matches, intersection) of two arrays in JavaScript. The idea is to convert one array to the data structure of key-value pairs, i.e., hash table. The hash table in ...