Files
30-seconds-of-code/test/distinctValuesOfArray/distinctValuesOfArray.js
2018-01-09 06:09:49 -05:00

1 line
42 B
JavaScript

module.exports = arr => [...new Set(arr)];