Find Smallest Integer In Array Javascript Iterations Definition