Created
December 26, 2016 21:18
-
-
Save vitkon/d4a6bb21f6926e97af50b57e38152b9d to your computer and use it in GitHub Desktop.
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
// create a new array of N elements filled with specific value | |
const isBusy = true; | |
const n = 12; | |
const schedule = [...Array(n).fill(isBusy)]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment