Created
January 29, 2018 10:00
-
-
Save MD4/6c6ec0fb6c2aa72f26f1eddfb9c1278e to your computer and use it in GitHub Desktop.
Hex string to ascii, feat @PaGury
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
const parseHex = hexString => hexString | |
.match(/.{1,2}/g) | |
.map(hex => String.fromCharCode(parseInt(hex, 16))) | |
.join(''); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment