I would like to see if there is any way to do this:
function trazerNumero(){
return 7;
}
function mostrarNumero(){
numero = trazerNumero();
alert(numero);
}
$(function(){
mostrarNumero()
})
I know you're going to say that it's better to do a single method, but what I do not want to do, I need to get a value that will be generated in another function and use in another function.