Posts by jvdutra • 33 points
3 posts
-
1
votes1
answer126
viewsQ: Stop execution of an asynchronous function
Hello, I’m a little new in the Javascript universe and its asynchronous. I have the following asynchronous function below. When entering the condition "!= null", I wish it to be terminated and the…
-
1
votes1
answer290
viewsQ: If function return does not recognize true, only false
I have this code below, which was to if the function returns true, it runs if. But it only executes if if I change if to false, that is, by putting "if(!linkAlreadySent)" instead of…
-
0
votes1
answer232
viewsQ: Sum of hours in PHP/Mysql
I am learning PHP/SQL and I am making a system of accounting hours worked of the employee. The amount of hours worked in the week is reproduced as a floating number in the $hours variable: 0.25…