Hi,, I want to work check before displaying any information on what it is to not repeated with supply

By looping..

My code:

txt_1.text = myArray[Math.floor(Math.random() * myArray.length)];
txt_2.text = myArray[Math.floor(Math.random() * myArray.length)];

I don't want to be in the field for similar txt1 with txt2 and txt3 for example..