add test for uniqueElements

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

View File

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