### distinctValuesOfArray 返回数组的所有不同值。 使用 ES6`Set`和`...rest`运算符丢弃所有重复的值。 ~~~js const distinctValuesOfArray = arr => [...new Set(arr)]; // distinctValuesOfArray([1,2,2,3,4,4,5]) -> [1,2,3,4,5] ~~~