Skip to content

Instantly share code, notes, and snippets.

@jimmont
Created January 23, 2020 21:14
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 jimmont/0851e90c5f0b47c609bdecaa09b2c387 to your computer and use it in GitHub Desktop.
Save jimmont/0851e90c5f0b47c609bdecaa09b2c387 to your computer and use it in GitHub Desktop.
greatest hits
// I always do this. Always.
Array(4).fill(undefined);
Object.values(Array(6,7,8)).length === Number(Object.keys([7,6,4]).pop()) + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment