let billion = 1e-6; console.log(0xFF); console.log(0b10001); let num=7; console.log(num.toString(16)); console.log(num.toString(2)); console.log(num.toString(7)); let suma=0.1+0.2; console.log(Math.round(suma*100)/100); console.log(suma.toFixed(2)); let j=Number("aa"); console.log(j); console.log(Number.isNaN(j)); console.log(j==NaN); console.log(parseInt('100px')) console.log(Number('100px')) for(let i=0;i<10;i++){ console.log(aleatorio(6,2)); } function aleatorio(max,min=1){ return Math.trunc(Math.random()*(max-min+1))+min; } Math.max(3,5,1,78,4);