Skip to content

Instantly share code, notes, and snippets.

@piuccio

piuccio/charCodeAt.js

Last active Jan 18, 2019
Embed
What would you like to do?
'a'.charCodeAt(0);
// 97
Buffer.from('a').toString('hex')
// 61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.