Skip to content

Instantly share code, notes, and snippets.

@broerjuang
Last active September 11, 2016 19:23
Show Gist options
  • Save broerjuang/5f34732374f01fd49b364a8b41da0485 to your computer and use it in GitHub Desktop.
Save broerjuang/5f34732374f01fd49b364a8b41da0485 to your computer and use it in GitHub Desktop.
Small Little Project
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