Created
October 6, 2022 04:33
-
-
Save neos1803/b7b34f4e3d52ba0384e62e7cdc68cc65 to your computer and use it in GitHub Desktop.
Array increment of n in javascript one liner
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
const example = Array.from({ length: 1000 }, (_, i) => String(i + 1)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment