Created
November 23, 2014 10:22
-
-
Save szmeku/afc5ce52e02562d67071 to your computer and use it in GitHub Desktop.
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 f(arg){ | |
var rest = arg.slice(2).length == 0 ? '' : ',' + f(arg.slice(2)); | |
return parseInt(arg.slice(0,2),16) + rest; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment