const createRandArr = (min, max, length = 10) => {
let arr = [];
for (let i = 0; i < length; i++) arr.push(Math.round(Math.random() * (max - min) + min));
return arr;
};
const arr = createRandArr(-100, 100);
const findMinPositive = arr => Math.min.apply(null, arr.filter(number => number > 0));
console.log(findMinPositive(arr), arr);