Skip to content

Instantly share code, notes, and snippets.

@scurker
Created April 24, 2017 21:37
Show Gist options
  • Save scurker/a3694960a7b163e620d2ac1f374e8dda to your computer and use it in GitHub Desktop.
Save scurker/a3694960a7b163e620d2ac1f374e8dda to your computer and use it in GitHub Desktop.
ES6 Keycodes
let [ up, down, left, right, esc, space ] = [38, 40, 37, 39, 27, 32];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment