Created
July 29, 2016 21:59
-
-
Save alexeygolev/99c0623e1cdb59b9fae3769a0c392cbd to your computer and use it in GitHub Desktop.
toHexs
This file contains hidden or 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 toHexs(xs) { | |
let idx = 0 | |
let result = [] | |
while (idx < xs.length) { | |
result[idx] = xs[idx].toString(16) | |
idx = idx + 1 | |
} | |
return result | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment