Created
May 10, 2019 08:28
-
-
Save IOIO72/f56817017a7aa2b227547e3b7c14c721 to your computer and use it in GitHub Desktop.
Returns each value of a given array once in a set of unique values.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const getValuesUnique = arr => [...new Set(arr)]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment