Skip to content

Instantly share code, notes, and snippets.

@mathiasjakobsen
Created December 13, 2017 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mathiasjakobsen/c82aedef5b29e8d6518eb4f9dbbcfb74 to your computer and use it in GitHub Desktop.
Save mathiasjakobsen/c82aedef5b29e8d6518eb4f9dbbcfb74 to your computer and use it in GitHub Desktop.
// { "-70": "", "-69": "", ... "-1": "" }
Object.assign(...Array(70).fill().map((_, i) => -(i + 1)).reverse().map(i => ({[i]: ''})))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment