Random keyword from an random array index (help please)

Can’t seem to figure this out, been trying for hours. Sorry for newbee question guys.

So I set up an keyword array and a random number generator

execute script —> return [“blue” , “red” , “green” , “yellow” , “gray”] —> myKeywords
execute script —> return Math.floor(Math.random() * 5) —> randomIndex

Now how do I combing the 2? This doesn’t work:

echo —> ${myKeyworks[${randomIndex}]}

Just trying to visit a URL with a random keyword in it, e.g:

See here: Randomly pick an expression from a list - #4 by ulrich