YiAn
Results
3
comments of
YiAn
```javascript let arr1 = [0, 1, 2, 3, 4, 3], arr2 = [0, 0, 3, 3, 2]; const res = arr1.reduce((acc, cur, idx, arr) => { if(arr2.includes(cur)) { acc.push(cur); arr2.splice(arr2.indexOf(cur),...
> 怪我,格局小了🌚
```javascript for(let i = 1; i tmp) { tmp = tmp * 10 + x % 10; x = Math.floor(x / 10); } return x === tmp || x ===...