Jquery – How can I replace element of array with X
Please I’m trying to find minimum value inside my array and replace the minimum value with X for the same element not to be picked as minimum over again Here is what I did Var arr = [3,8,2,5,1]; Var minIndex;…