funciones functions javaScript
/* FUNCTIONS */ function hola_usuario() { document.write(«Hola que tal <br>») } function raiz(x) { return x * x ; } hola_usuario(); numero=prompt(«Ingresa un numero», 0); document.write(raiz(numero)); Tags: funciones, functions