Skip to content

Instantly share code, notes, and snippets.

@claudiuconstantin
Last active April 12, 2018 05:59
Show Gist options
  • Save claudiuconstantin/4ed20a5be357508693ee33ff9f4ff6a4 to your computer and use it in GitHub Desktop.
Save claudiuconstantin/4ed20a5be357508693ee33ff9f4ff6a4 to your computer and use it in GitHub Desktop.
Typescript stuff
// range
const range = length => Array.from({ length: length }, (_, key) => key);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment