Created
February 3, 2017 23:21
-
-
Save Andrews54757/344cbb1c899287e2ec6ce95f92f6c90c to your computer and use it in GitHub Desktop.
Test
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 toNum(a) { | |
return parseInt(a.join(""),2); | |
} | |
function toBin(a) { | |
return a.toString(2).split("") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment