Skip to content

Instantly share code, notes, and snippets.

@webbower
Last active March 10, 2023 01:40
Show Gist options
  • Save webbower/c58c7bc6060be62d3fd2 to your computer and use it in GitHub Desktop.
Save webbower/c58c7bc6060be62d3fd2 to your computer and use it in GitHub Desktop.
Dense Array Generation
Array.apply(null, Array(n));
Array.from({length: 10}, (_, i) => i + 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment