Created
October 31, 2022 15:37
-
-
Save ahmedghazi/4d8a26bc26fb6ccfd2567e78499b7c0d to your computer and use it in GitHub Desktop.
Array from number
This file contains hidden or 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
// Creates an array from 0 to 24 | |
const hours = [...Array(25).keys()] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment