Created
June 13, 2018 03:58
-
-
Save sirdarthvader/99312c5464b81dfdab00ea7695fe08c9 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
function generateRandomColor(num) { | |
//make an array | |
var arr = []; | |
// run the randomColor function num times | |
for (i=0; i < num ; i++) { | |
arr.push(randomColors()); | |
} | |
// return an array | |
return arr; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment