Posts by Jobsdev • 123 points
1 post
-
2
votes1
answer196
viewsQ: Access variable from within function: scope problem?
How do I access the variable dados from within the function? Example below: var dados; PagSeguroDirectPayment.getBrand({ cardBin: this.pedidoSoft.numCard, success: function(response) { dados =…
javascriptasked Jobsdev 123