Skip to content

Instantly share code, notes, and snippets.

@andrewmcodes
Last active February 3, 2021 04:41
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 andrewmcodes/a1ba6c025e3a2fc1f239f0d9dee449cb to your computer and use it in GitHub Desktop.
Save andrewmcodes/a1ba6c025e3a2fc1f239f0d9dee449cb to your computer and use it in GitHub Desktop.
Creates an array of strings 1-12 and none
We couldn’t find any files to show.
@npezza93
Copy link

npezza93 commented Aug 2, 2020

You can skip the collect by doing:

Array("1".."12").push("none")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment