Created
October 5, 2016 20:50
-
-
Save wagnerdevel/b85dc59960edd89d2b2a5a04c3a5fb26 to your computer and use it in GitHub Desktop.
func-return
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 characters
| function somaDoisNumeros(numero1, numero2){ | |
| return numero1 + numero2; | |
| } | |
| var numero = 80; | |
| var resultado = somaDoisNumeros(10,20); // armazena 30 na variável resultado | |
| alert(numero - resultado); // exibe 50 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment