Stownheidg,
вариант...
const createRandArr = (min, max, length = 10) => Array.from({length}, () => min + Math.random() * (max - min)|0);
const arr = createRandArr(-100, 100);
const findMinPositive = arr => Math.min(...arr.filter(number => number > 0));
console.log(findMinPositive(arr), arr);