Posts by Matheus Ferreira machado • 111 points
1 post
-
1
votes3
answers528
viewsA: Function that returns the position of the smallest number in a vector
Use the index text var arr = [1,2,3]; arr.indexOf(Math.min(...arr));
1 post
1
votes3
answers528
viewsUse the index text var arr = [1,2,3]; arr.indexOf(Math.min(...arr));