Hébergement
Forum
<script type="text/javascript"> function f (x) { document.write("la function f a recu le parametre x :" + x +"<br>"); } f(3); f("coucou"); </script>donne
<script type="text/javascript"> function carre (x) { return x*x; } document.write(carre(3)); </script>donne