const randomArray = Array.from({length: 25}, () => Math.floor(Math.random() * 21) - 10);const positiveArray = randomArray.map(num => Math.abs(num));console.log(randomArray);console.log(positiveArray);
const randomArray = Array.from({length: 25}, () => Math.floor(Math.random() * 21) - 10);
const positiveArray = randomArray.map(num => Math.abs(num));
console.log(randomArray);
console.log(positiveArray);