add test for uniqueElements

This commit is contained in:
Stefan Feješ
2018-01-17 18:06:12 +01:00
parent 33f610c28d
commit b1f8a708dc
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1 @@
module.exports = uniqueElements = arr => [...new Set(arr)];