Skip to content

Instantly share code, notes, and snippets.

@alexeygolev
Created July 29, 2016 21:59
Show Gist options
  • Save alexeygolev/99c0623e1cdb59b9fae3769a0c392cbd to your computer and use it in GitHub Desktop.
Save alexeygolev/99c0623e1cdb59b9fae3769a0c392cbd to your computer and use it in GitHub Desktop.
toHexs
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