unique(未完成)
摘要:
```js
const unique = arr => { const sortedArr = arr.sort((a, b) => a > b); const first = sortedArr[0]; let last = sortedArr[sortedArr.length - 1]; const result = []; result.push(la... 阅读全文
posted @ 2017-09-16 21:18 shineYao 阅读(111) 评论(0) 推荐(0) 编辑