Array Need help!

deck = [“A1”, “B2”, “C3”, “D4”, “E5”, “F6”, “G7”, “H8”, “I9”, “J10”];
roke = new Array();

for (i=0; i<7+j; i++) {
j = 0;
k = Math.floor(random(10));
roke* = karta;


this is my code.

how i have to write code (exp. if is the k=1 this is array B2, now is B2 in new array and i woud like delet B2 from deck array, so if will next time go “for loop” deck array will not have B2)

I hope you understand me