Random index

how could I get a random index from an array? like

data get block ~ ~ ~ Items[random(0..53)].tag.display.Name

Continue to help post