Created
December 7, 2018 15:42
-
-
Save masterfermin02/452797b09735e071b6b9b2277793b4bf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/* | |
* @param1 = string | |
* return boolean | |
*/ | |
function isUniqueCharater(str){ | |
return str.length === new Set(str).size; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment