-
-
Save parzibyte/2d8240acea840c5ff270b8721e5b6798 to your computer and use it in GitHub Desktop.
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 caracteresUnicos = cadena => { | |
// https://parzibyte.me/blog | |
let unicos = ""; | |
for (letra of cadena) { | |
if (!unicos.includes(letra)) { | |
unicos += letra; | |
} | |
} | |
return unicos; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment