Hunter Jiang

Results 1 comments of Hunter Jiang

```javascript function getIndex(arr) { let index = -1; let prev = Infinity; arr.forEach((item, idx) => { if (item > 0 && item < prev) { prev = item; index =...