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
Array.prototype.shuffle = function() { | |
return this.sort(() => Math.random() - 0.5); | |
} | |
// Random value to concat to name. | |
// Personal reason: due to relevant names matching the same indexed element. | |
// This might also make the following shuffle unnecessary. | |
const randomConcat = Math.random(); | |
const nameColorOverrides = { |