結果 : find the smallest integer in the array codewars javascript