I have two arrays like this:

```
var x = ['1','2','6'];
var y = ['4', '5','6'];

```

How do I find duplicates in two arrays in pure JavaScript and I would like to avoid using a loop?

Output - `duplicates: 6`