Last active
February 19, 2020 10:14
-
-
Save ruinunes/c60ef4788f0d2207c2464d9251c98472 to your computer and use it in GitHub Desktop.
Prefill an array with sequential numbers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array(8).fill().map((_, b) => ({ value: ++b, label: String(b) })) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment