Last active
          July 7, 2020 17:33 
        
      - 
      
 - 
        
Save agustinpfs/32f16d6c368a608d82b7fe746dea1c51 to your computer and use it in GitHub Desktop.  
Revisions
- 
        
agustinpfs revised this gist
Jul 7, 2020 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,3 +13,12 @@ function myFuncion(a, b) { //invocación: myFuncion(3, 4); // 7 // Podemos crear una función en la que no necesitamos que retorne un valor, sino, que ejecute un comportamiento: function myFuncion() { alert("Hola Mundo"); } myFuncion(); //crea un alerta en el navegador  - 
        
agustinpfs created this gist
Jul 7, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ function myFuncion() { return 3 + 4; //sentencia. “return” me devuelve el valor calculado } //invocación: myFuncion(); // 7 //Utilizando parámetros: function myFuncion(a, b) { return a + b; } //invocación: myFuncion(3, 4); // 7