Posts by João Hugo Leda • 1 point
1 post
-
0
votes0
answers13
viewsQ: How to make the block wait the execution of a method to continue
I have a route check login, it calls a method that returns a Boolean, I need to make an if with the value returned, but it returns Undefined, as it has not yet been executed. app.post('/home',…
javascriptasked João Hugo Leda 1