let numeros = [2,56,78,300,789,1005,653];

let maior = Math.max(...numeros);
console.log(maior);
let menor = Math.min(...numeros);
console.log(menor);
let valor = Math.floor(Math.random()*100);
console.log(valor)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: