Last active
November 26, 2021 21:11
-
-
Save flaviorl-net/77d4dcba5746f11a5243ba6f28ae7221 to your computer and use it in GitHub Desktop.
This file contains 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
//não há uma palavra chave na assinatura que indica se irá retornar valor ou não. | |
function ObterQuantidadeComprada(codigoPedido) | |
{ | |
//... | |
return 4; | |
} | |
//não retorna valor. | |
function ExecutaCompra(codigoPedido) | |
{ | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment