Posts by Diego • 31 points
1 post
-
3
votes4
answers28233
viewsA: How to know the highest value of an Array?
To find the largest number among a set of variables you can use the Math max function: var a = 10; var b = 25; var c = 20; maior = Math.max(a,b,c); console.log(maior) //25 It accepts multiple…