1 line of code: How to get the index of the lowest numeric item of an Array
const indexOfLowestNumber = arr =&gt; arr.indexOf(Math.min.apply(null,arr));        Enter fullscreen...
Tags: javascript, webdev, performance, codequality