Last active
September 11, 2016 19:23
-
-
Save broerjuang/5f34732374f01fd49b364a8b41da0485 to your computer and use it in GitHub Desktop.
Small Little Project
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 stringInp(string) { | |
var stringSep = string.split(""); | |
for (var i = 0; i < stringSep.length; i++ ) { | |
stringSep[i] = stringSep[i].charCodeAt(0).toString(2); | |
} | |
return stringSep; | |
} | |
stringInp("Bagus Juang").join(" "); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment