Skip to content

Instantly share code, notes, and snippets.

@cowboy
Created October 27, 2017 14:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cowboy/0f439cb4cc066716eca91af4b139a58d to your computer and use it in GitHub Desktop.
Save cowboy/0f439cb4cc066716eca91af4b139a58d to your computer and use it in GitHub Desktop.
i made a bird map
'bird'
.split(/^(.)(.)(.)/)
.map(''.constructor.call.bind(''.repeat))
.filter(''.constructor)
.map(''.constructor.call.bind(''.charCodeAt))
.map(n=>n<100?100:n<101?107:n<106?111:n)
.map(''.constructor.fromCharCode)
.join('')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment