const array = [320, 52, 532, 920, 20]; let smallestNum = array[0]; for (let i = 1; i < array.length; i++) { if (array[i] < smallestNum) { smallestNum = array[i]; } } console.log(smallestNum);