Created
March 18, 2021 08:41
-
-
Save keremistan/57f472b4e0a8a6fec82b4e580c32f48f to your computer and use it in GitHub Desktop.
Getting 10 random colors.
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 get10RandomColors(): string[] { | |
return Array.from({ length: 10 }, () => getRandomColor()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment