啾爸

Results 2 comments of 啾爸

#### 方法一 ``` const reverseWords = s => { let arr = s.split(' ').filter(function (s) { return s && s.trim(); }) const result = arr.reverse().join(' ') return result; }; ```...

``` const mixed = (...arrs) => { return [...new Set(arrs.reduce((sum,arr) => { return arr.filter(i => sum.includes(i)); }))] } ```