Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 367 Bytes

CalculMax.md

File metadata and controls

16 lines (12 loc) · 367 Bytes

Max

Objectif

Trouvez le nombre max dans la liste suivante

Il s'agit biensur de récréer la fonction Math.Max, pas de l'utiliser

var numbers = [1, 19, 28, 3, 37, 8, 371, 3, Math.PI, 3*3*3*3*4, 1002, 1^10, Math.exp(2), Math.log(2)]
<?php
$numbers = [1, 19, 28, 3, 37, 8, 371, 3, M_PI, 3*3*3*3*4, 1002, 1^10, exp(2), log(2)];
?>