Created
August 8, 2022 19:36
-
-
Save neodigm/281bb9bd3d7eb70bd8421af0f062c739 to your computer and use it in GitHub Desktop.
Contains all unique chars
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
function testUniqueChars(text) { | |
// www.theScottKrause.com | |
const aDucks = Array.from(new Set(Array.from(text))); | |
return text.length == aDucks.length; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment