I want to add a property to a singular element of an array.
Basically, I want to choose a singular element at random, make it appear on screen, then after it disappears add a "already chosen" property to that element so that it can't be randomly picked again.
Alternatively, if anyone knows how to temporarily exclude a single element from an array, that would be extremely helpful too.
const numbers =["1","2","3","4","5"]