Skip to content

Instantly share code, notes, and snippets.

@hueitan
Created April 30, 2015 10:23
Show Gist options
  • Save hueitan/9c00971b17200cd9a279 to your computer and use it in GitHub Desktop.
Save hueitan/9c00971b17200cd9a279 to your computer and use it in GitHub Desktop.
test
o = ''
b = arguments[0]

for (k in b)
  o += '                                                                                                                                                                                                  d3d4d5  d7  e6e5e4    f2  h2h1g1  e1d1c1b1  a2  c2'.substr(b[k].charCodeAt() *2,2)

return o
@hueitan
Copy link
Author

hueitan commented Apr 30, 2015

106

o = ''
b = arguments[0]

for (k in b)
  o += 'd3d4d5  d7  e6e5e4    f2  h2h1g1  e1d1c1b1  a2  c2               '.substr(b[k].charCodeAt() % 97 *2,2)

  return o

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment