I'm trying to assign values to some variables and I'm not succeeding in calling a function step a parameter which I'm getting correctly, but trying to pass this and more a value as parameters I can not.
I did this:
function BuscaDados(pIdAgenda) { var params = { Operacao: 'BuscaUnica', pIdAgenda: pIdAgenda }; }
Running% s of the variable sent to the DataSource function, the value is correct, but when trying to assign them to console.log
and running params
what I get is console.log